#AB4E7F#AB4E7F
#AB4E7F is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.6% C 0.134 H 349.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4E7F |
|---|---|
| RGB | rgb(171, 78, 127) |
| HSL | hsl(328, 37%, 49%) |
| HSV | hsv(328, 54%, 67%) |
| CMYK | cmyk(0%, 54.4%, 25.7%, 32.9%) |
| CIE-LAB | lab(46.50, 43.76, -9.36) |
| CIE-LCH | lch(46.50, 44.75, 347.93°) |
| OKLab | oklab(55.63% 0.132 -0.0244) |
| OKLCH | oklch(55.63% 0.134 349.5) |
| XYZ | xyz(23.3505, 15.6411, 21.8638) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.79
Purpleish
#98568D
ΔE00 6.35
Purplish
#94568C
ΔE00 7.01
Mediumvioletred
#C71585
ΔE00 7.83
Dusky Purple
#895B7B
ΔE00 8.32
Magenta (survey)
#C20078
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4E7F #4EAB7A
analogous
#A94EAB #AB4E7F #AB4E51
triadic
#AB4E7F #7FAB4E #4E7FAB
tetradic
#AB4E7F #ABA94E #4EAB7A #4E51AB
square
#AB4E7F #ABA94E #4EAB7A #4E51AB
split-complementary
#AB4E7F #51AB4E #4EABA9
monochromatic
#572841 #813B60 #AB4E7F #C0769D #D4A0BB
Accessibility & contrast
On white
5.09
#AB4E7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#AB4E7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4E7F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4E7F | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586481
Deuteranopia (green-blind)
#72747D
Tritanopia (blue-blind)
#B64B61
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ab4e7f; /* rgb */ color: rgb(171, 78, 127); /* oklch */ color: oklch(55.6% 0.134 349.5);
Tailwind
colors: {
custom: {
50: '#c783a4',
500: '#ab4e7f',
950: '#000000',
},
}SCSS
$custom: #ab4e7f; $custom-light: #c783a4; $custom-dark: #000000;
JSON
{
"hex": "#ab4e7f",
"rgb": {
"r": 171,
"g": 78,
"b": 127
},
"hsl": {
"h": 328.387,
"s": 37.349,
"l": 48.824
},
"oklch": {
"l": 0.55633,
"c": 0.1342,
"h": 349.5
},
"luminance": 0.15639
}Semantic roles & 50–950 ramp
primary
#AB4E7F
secondary
#94C1A9
accent
#CD915A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B0F
muted
#827C7F