#AB4B87#AB4B87
#AB4B87 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.5% C 0.144 H 344.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4B87 |
|---|---|
| RGB | rgb(171, 75, 135) |
| HSL | hsl(323, 39%, 48%) |
| HSV | hsv(323, 56%, 67%) |
| CMYK | cmyk(0%, 56.1%, 21.1%, 32.9%) |
| CIE-LAB | lab(46.23, 46.39, -14.60) |
| CIE-LCH | lch(46.23, 48.64, 342.54°) |
| OKLab | oklab(55.53% 0.1387 -0.0387) |
| OKLCH | oklch(55.53% 0.144 344.4) |
| XYZ | xyz(23.6845, 15.4414, 24.6501) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.06
Purpleish
#98568D
ΔE00 5.04
Purplish
#94568C
ΔE00 5.78
Mediumvioletred
#C71585
ΔE00 7.01
Ugly Purple
#A442A0
ΔE00 7.39
Light Eggplant
#894585
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4B87 #4BAB6F
analogous
#9F4BAB #AB4B87 #AB4B57
triadic
#AB4B87 #87AB4B #4B87AB
tetradic
#AB4B87 #AB9F4B #4BAB6F #4B57AB
square
#AB4B87 #AB9F4B #4BAB6F #4B57AB
split-complementary
#AB4B87 #57AB4B #4BAB9F
monochromatic
#562644 #803865 #AB4B87 #C172A3 #D49DBF
Accessibility & contrast
On white
5.14
#AB4B87 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#AB4B87 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4B87
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4B87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4B87 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536389
Deuteranopia (green-blind)
#6E7385
Tritanopia (blue-blind)
#B54A63
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab4b87; /* rgb */ color: rgb(171, 75, 135); /* oklch */ color: oklch(55.5% 0.144 344.4);
Tailwind
colors: {
custom: {
50: '#c782aa',
500: '#ab4b87',
950: '#000000',
},
}SCSS
$custom: #ab4b87; $custom-light: #c782aa; $custom-dark: #000000;
JSON
{
"hex": "#ab4b87",
"rgb": {
"r": 171,
"g": 75,
"b": 135
},
"hsl": {
"h": 322.5,
"s": 39.024,
"l": 48.235
},
"oklch": {
"l": 0.55529,
"c": 0.14403,
"h": 344.4
},
"luminance": 0.15439
}Semantic roles & 50–950 ramp
primary
#AB4B87
secondary
#91C0A3
accent
#CF8559
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F