#AB4989#AB4989
#AB4989 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.3% C 0.149 H 343.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4989 |
|---|---|
| RGB | rgb(171, 73, 137) |
| HSL | hsl(321, 40%, 48%) |
| HSV | hsv(321, 57%, 67%) |
| CMYK | cmyk(0%, 57.3%, 19.9%, 32.9%) |
| CIE-LAB | lab(45.95, 47.65, -16.23) |
| CIE-LCH | lch(45.95, 50.34, 341.19°) |
| OKLab | oklab(55.34% 0.1421 -0.0432) |
| OKLCH | oklch(55.34% 0.149 343.1) |
| XYZ | xyz(23.6931, 15.2312, 25.3541) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.56
Purpleish
#98568D
ΔE00 4.97
Purplish
#94568C
ΔE00 5.69
Ugly Purple
#A442A0
ΔE00 6.63
Mediumvioletred
#C71585
ΔE00 6.74
Light Eggplant
#894585
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4989 #49AB6B
analogous
#9C49AB #AB4989 #AB4958
triadic
#AB4989 #89AB49 #4989AB
tetradic
#AB4989 #AB9C49 #49AB6B #4958AB
square
#AB4989 #AB9C49 #49AB6B #4958AB
split-complementary
#AB4989 #58AB49 #49AB9C
monochromatic
#552444 #803767 #AB4989 #C26FA5 #D49AC0
Accessibility & contrast
On white
5.19
#AB4989 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#AB4989 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4989
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4989 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50638B
Deuteranopia (green-blind)
#6C7387
Tritanopia (blue-blind)
#B54963
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab4989; /* rgb */ color: rgb(171, 73, 137); /* oklch */ color: oklch(55.3% 0.149 343.1);
Tailwind
colors: {
custom: {
50: '#c780ab',
500: '#ab4989',
950: '#000000',
},
}SCSS
$custom: #ab4989; $custom-light: #c780ab; $custom-dark: #000000;
JSON
{
"hex": "#ab4989",
"rgb": {
"r": 171,
"g": 73,
"b": 137
},
"hsl": {
"h": 320.816,
"s": 40.164,
"l": 47.843
},
"oklch": {
"l": 0.55344,
"c": 0.14857,
"h": 343.1
},
"luminance": 0.15229
}Semantic roles & 50–950 ramp
primary
#AB4989
secondary
#8FC0A0
accent
#D08158
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F