#AB4E87#AB4E87
#AB4E87 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.9% C 0.139 H 344.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4E87 |
|---|---|
| RGB | rgb(171, 78, 135) |
| HSL | hsl(323, 37%, 49%) |
| HSV | hsv(323, 54%, 67%) |
| CMYK | cmyk(0%, 54.4%, 21.1%, 32.9%) |
| CIE-LAB | lab(46.79, 44.92, -13.75) |
| CIE-LCH | lch(46.79, 46.98, 342.98°) |
| OKLab | oklab(55.94% 0.1343 -0.0364) |
| OKLCH | oklch(55.94% 0.139 344.8) |
| XYZ | xyz(23.8928, 15.8580, 24.7195) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.58
Purpleish
#98568D
ΔE00 4.95
Purplish
#94568C
ΔE00 5.71
Mediumvioletred
#C71585
ΔE00 7.54
Ugly Purple
#A442A0
ΔE00 7.89
Dusky Purple
#895B7B
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4E87 #4EAB72
analogous
#A14EAB #AB4E87 #AB4E59
triadic
#AB4E87 #87AB4E #4E87AB
tetradic
#AB4E87 #ABA14E #4EAB72 #4E59AB
square
#AB4E87 #ABA14E #4EAB72 #4E59AB
split-complementary
#AB4E87 #59AB4E #4EABA1
monochromatic
#572845 #813B66 #AB4E87 #C076A4 #D4A0C0
Accessibility & contrast
On white
5.03
#AB4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#AB4E87 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4E87
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4E87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4E87 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566589
Deuteranopia (green-blind)
#6F7585
Tritanopia (blue-blind)
#B54D64
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab4e87; /* rgb */ color: rgb(171, 78, 135); /* oklch */ color: oklch(55.9% 0.139 344.8);
Tailwind
colors: {
custom: {
50: '#c683aa',
500: '#ab4e87',
950: '#000000',
},
}SCSS
$custom: #ab4e87; $custom-light: #c683aa; $custom-dark: #000000;
JSON
{
"hex": "#ab4e87",
"rgb": {
"r": 171,
"g": 78,
"b": 135
},
"hsl": {
"h": 323.226,
"s": 37.349,
"l": 48.824
},
"oklch": {
"l": 0.55941,
"c": 0.13913,
"h": 344.8
},
"luminance": 0.15856
}Semantic roles & 50–950 ramp
primary
#AB4E87
secondary
#94C1A5
accent
#CD875A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F