#AB4E7D#AB4E7D
#AB4E7D is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.6% C 0.133 H 350.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4E7D |
|---|---|
| RGB | rgb(171, 78, 125) |
| HSL | hsl(330, 37%, 49%) |
| HSV | hsv(330, 54%, 67%) |
| CMYK | cmyk(0%, 54.4%, 26.9%, 32.9%) |
| CIE-LAB | lab(46.43, 43.47, -8.25) |
| CIE-LCH | lch(46.43, 44.25, 349.25°) |
| OKLab | oklab(55.56% 0.1313 -0.0214) |
| OKLCH | oklch(55.56% 0.133 350.8) |
| XYZ | xyz(23.2215, 15.5895, 21.1841) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.03
Purpleish
#98568D
ΔE00 6.77
Purplish
#94568C
ΔE00 7.40
Mediumvioletred
#C71585
ΔE00 7.99
Dusky Purple
#895B7B
ΔE00 8.37
Magenta (survey)
#C20078
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4E7D #4EAB7C
analogous
#AB4EAB #AB4E7D #AB4E4F
triadic
#AB4E7D #7DAB4E #4E7DAB
tetradic
#AB4E7D #ABAB4E #4EAB7C #4E4FAB
square
#AB4E7D #ABAB4E #4EAB7C #4E4FAB
split-complementary
#AB4E7D #4FAB4E #4EABAB
monochromatic
#572840 #813B5E #AB4E7D #C0769C #D4A0BA
Accessibility & contrast
On white
5.10
#AB4E7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#AB4E7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4E7D
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4E7D | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59647F
Deuteranopia (green-blind)
#72747B
Tritanopia (blue-blind)
#B64A60
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ab4e7d; /* rgb */ color: rgb(171, 78, 125); /* oklch */ color: oklch(55.6% 0.133 350.8);
Tailwind
colors: {
custom: {
50: '#c783a2',
500: '#ab4e7d',
950: '#000000',
},
}SCSS
$custom: #ab4e7d; $custom-light: #c783a2; $custom-dark: #000000;
JSON
{
"hex": "#ab4e7d",
"rgb": {
"r": 171,
"g": 78,
"b": 125
},
"hsl": {
"h": 329.677,
"s": 37.349,
"l": 48.824
},
"oklch": {
"l": 0.55559,
"c": 0.13307,
"h": 350.8
},
"luminance": 0.15587
}Semantic roles & 50–950 ramp
primary
#AB4E7D
secondary
#94C1AA
accent
#CD935A
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0F
muted
#827C7E