#AB417E#AB417E
#AB417E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.154 H 347.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AB417E |
|---|---|
| RGB | rgb(171, 65, 126) |
| HSL | hsl(325, 45%, 46%) |
| HSV | hsv(325, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 26.3%, 32.9%) |
| CIE-LAB | lab(44.16, 49.78, -12.28) |
| CIE-LCH | lch(44.16, 51.28, 346.14°) |
| OKLab | oklab(53.88% 0.1505 -0.0323) |
| OKLCH | oklch(53.88% 0.154 347.9) |
| XYZ | xyz(22.4516, 13.9471, 21.2443) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.66
Mediumvioletred
#C71585
ΔE00 5.72
Magenta (survey)
#C20078
ΔE00 6.12
Purpleish
#98568D
ΔE00 6.92
Purplish
#94568C
ΔE00 7.48
Ugly Purple
#A442A0
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB417E #41AB6E
analogous
#A341AB #AB417E #AB4149
triadic
#AB417E #7EAB41 #417EAB
tetradic
#AB417E #ABA341 #41AB6E #4149AB
square
#AB417E #ABA341 #41AB6E #4149AB
split-complementary
#AB417E #49AB41 #41ABA3
monochromatic
#521F3D #7F305D #AB417E #C4659C #D591B8
Accessibility & contrast
On white
5.54
#AB417E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#AB417E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB417E
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB417E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB417E | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5D80
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#B63E5A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab417e; /* rgb */ color: rgb(171, 65, 126); /* oklch */ color: oklch(53.9% 0.154 347.9);
Tailwind
colors: {
custom: {
50: '#c77ca3',
500: '#ab417e',
950: '#000000',
},
}SCSS
$custom: #ab417e; $custom-light: #c77ca3; $custom-dark: #000000;
JSON
{
"hex": "#ab417e",
"rgb": {
"r": 171,
"g": 65,
"b": 126
},
"hsl": {
"h": 325.472,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.53881,
"c": 0.15395,
"h": 347.9
},
"luminance": 0.13945
}Semantic roles & 50–950 ramp
primary
#AB417E
secondary
#87C1A0
accent
#D58A53
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#130A0F
muted
#827C7F