#AB4E7E#AB4E7E
#AB4E7E is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.6% C 0.134 H 350.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4E7E |
|---|---|
| RGB | rgb(171, 78, 126) |
| HSL | hsl(329, 37%, 49%) |
| HSV | hsv(329, 54%, 67%) |
| CMYK | cmyk(0%, 54.4%, 26.3%, 32.9%) |
| CIE-LAB | lab(46.47, 43.62, -8.80) |
| CIE-LCH | lch(46.47, 44.49, 348.59°) |
| OKLab | oklab(55.6% 0.1317 -0.0229) |
| OKLCH | oklch(55.6% 0.134 350.1) |
| XYZ | xyz(23.2857, 15.6151, 21.5223) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.90
Purpleish
#98568D
ΔE00 6.55
Purplish
#94568C
ΔE00 7.20
Mediumvioletred
#C71585
ΔE00 7.91
Dusky Purple
#895B7B
ΔE00 8.34
Magenta (survey)
#C20078
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4E7E #4EAB7B
analogous
#AA4EAB #AB4E7E #AB4E50
triadic
#AB4E7E #7EAB4E #4E7EAB
tetradic
#AB4E7E #ABAA4E #4EAB7B #4E50AB
square
#AB4E7E #ABAA4E #4EAB7B #4E50AB
split-complementary
#AB4E7E #50AB4E #4EABAA
monochromatic
#572840 #813B5F #AB4E7E #C0769C #D4A0BB
Accessibility & contrast
On white
5.09
#AB4E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#AB4E7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4E7E
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4E7E | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596480
Deuteranopia (green-blind)
#72747C
Tritanopia (blue-blind)
#B64B60
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ab4e7e; /* rgb */ color: rgb(171, 78, 126); /* oklch */ color: oklch(55.6% 0.134 350.1);
Tailwind
colors: {
custom: {
50: '#c783a3',
500: '#ab4e7e',
950: '#000000',
},
}SCSS
$custom: #ab4e7e; $custom-light: #c783a3; $custom-dark: #000000;
JSON
{
"hex": "#ab4e7e",
"rgb": {
"r": 171,
"g": 78,
"b": 126
},
"hsl": {
"h": 329.032,
"s": 37.349,
"l": 48.824
},
"oklch": {
"l": 0.55595,
"c": 0.13363,
"h": 350.1
},
"luminance": 0.15613
}Semantic roles & 50–950 ramp
primary
#AB4E7E
secondary
#94C1AA
accent
#CD925A
background
#FCF8FA
surface
#F8EFF3
border
#D1CACD
text
#130B0F
muted
#827C7F