#AB418E#AB418E
#AB418E is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.6% C 0.164 H 339.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AB418E |
|---|---|
| RGB | rgb(171, 65, 142) |
| HSL | hsl(316, 45%, 46%) |
| HSV | hsv(316, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 17%, 32.9%) |
| CIE-LAB | lab(44.79, 52.09, -21.03) |
| CIE-LCH | lch(44.79, 56.17, 338.02°) |
| OKLab | oklab(54.56% 0.1543 -0.0566) |
| OKLCH | oklch(54.56% 0.164 339.9) |
| XYZ | xyz(23.5678, 14.3936, 27.1229) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.66
Purpleish
#98568D
ΔE00 5.73
Medium Purple
#9E43A2
ΔE00 5.90
Mediumvioletred
#C71585
ΔE00 6.25
Purplish
#94568C
ΔE00 6.29
Light Plum
#9D5783
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB418E #41AB5E
analogous
#9341AB #AB418E #AB4159
triadic
#AB418E #8EAB41 #418EAB
tetradic
#AB418E #AB9341 #41AB5E #4159AB
square
#AB418E #AB9341 #41AB5E #4159AB
split-complementary
#AB418E #59AB41 #41AB93
monochromatic
#521F44 #7F3069 #AB418E #C465AA #D591C3
Accessibility & contrast
On white
5.41
#AB418E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#AB418E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB418E
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB418E | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475F90
Deuteranopia (green-blind)
#66708B
Tritanopia (blue-blind)
#B44461
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ab418e; /* rgb */ color: rgb(171, 65, 142); /* oklch */ color: oklch(54.6% 0.164 339.9);
Tailwind
colors: {
custom: {
50: '#c77caf',
500: '#ab418e',
950: '#000000',
},
}SCSS
$custom: #ab418e; $custom-light: #c77caf; $custom-dark: #000000;
JSON
{
"hex": "#ab418e",
"rgb": {
"r": 171,
"g": 65,
"b": 142
},
"hsl": {
"h": 316.415,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.54557,
"c": 0.16437,
"h": 339.9
},
"luminance": 0.14392
}Semantic roles & 50–950 ramp
primary
#AB418E
secondary
#87C197
accent
#D57753
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F