#AB418B#AB418B
#AB418B is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.4% C 0.162 H 341.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AB418B |
|---|---|
| RGB | rgb(171, 65, 139) |
| HSL | hsl(318, 45%, 46%) |
| HSV | hsv(318, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 18.7%, 32.9%) |
| CIE-LAB | lab(44.67, 51.64, -19.41) |
| CIE-LCH | lch(44.67, 55.16, 339.40°) |
| OKLab | oklab(54.42% 0.1537 -0.052) |
| OKLCH | oklch(54.42% 0.162 341.3) |
| XYZ | xyz(23.3456, 14.3047, 25.9526) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.32
Purpleish
#98568D
ΔE00 5.78
Mediumvioletred
#C71585
ΔE00 5.99
Light Plum
#9D5783
ΔE00 6.22
Purplish
#94568C
ΔE00 6.35
Medium Purple
#9E43A2
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB418B #41AB61
analogous
#9641AB #AB418B #AB4156
triadic
#AB418B #8BAB41 #418BAB
tetradic
#AB418B #AB9641 #41AB61 #4156AB
square
#AB418B #AB9641 #41AB61 #4156AB
split-complementary
#AB418B #56AB41 #41AB96
monochromatic
#521F43 #7F3067 #AB418B #C465A8 #D591C1
Accessibility & contrast
On white
5.44
#AB418B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#AB418B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB418B
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB418B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB418B | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485F8D
Deuteranopia (green-blind)
#677088
Tritanopia (blue-blind)
#B54360
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ab418b; /* rgb */ color: rgb(171, 65, 139); /* oklch */ color: oklch(54.4% 0.162 341.3);
Tailwind
colors: {
custom: {
50: '#c77cad',
500: '#ab418b',
950: '#000000',
},
}SCSS
$custom: #ab418b; $custom-light: #c77cad; $custom-dark: #000000;
JSON
{
"hex": "#ab418b",
"rgb": {
"r": 171,
"g": 65,
"b": 139
},
"hsl": {
"h": 318.113,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.54424,
"c": 0.16227,
"h": 341.3
},
"luminance": 0.14303
}Semantic roles & 50–950 ramp
primary
#AB418B
secondary
#87C199
accent
#D57A53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F