Color Reference · Magenta Neon

#A162A4

oklch(58.9% 0.121 325)

HEX
#A162A4
OKLCH
oklch(58.9% 0.121 325)
RGB
rgb(161, 98, 164)
HSL
hsl(297deg 27% 51%)
Relative Luminance
Y = 0.1899

Using #A162A4 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.38:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.08:1
AA Large
OKLCH AA text-on-white fix: #9C5E9F (4.65:1)Open Checker →

Using #A162A4 as Button / Surface Fill

White ink (#FFFFFF) on #A162A4
Contrast ratio 4.38:1
AA Large
Dark ink (#0F172A) on #A162A4
Contrast ratio 4.08:1
AA Large

Recommended accessible ink on #A162A4: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #A162A4