#AB5E97#AB5E97
#AB5E97 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.0% C 0.123 H 337.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5E97 |
|---|---|
| RGB | rgb(171, 94, 151) |
| HSL | hsl(316, 31%, 52%) |
| HSV | hsv(316, 45%, 67%) |
| CMYK | cmyk(0%, 45%, 11.7%, 32.9%) |
| CIE-LAB | lab(50.57, 39.23, -17.54) |
| CIE-LCH | lch(50.57, 42.97, 335.90°) |
| OKLab | oklab(58.97% 0.1142 -0.0471) |
| OKLCH | oklch(58.97% 0.123 337.6) |
| XYZ | xyz(26.3833, 18.8994, 31.5305) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.89
Light Plum
#9D5783
ΔE00 4.99
Purplish
#94568C
ΔE00 5.66
Dark Lilac
#9C6DA5
ΔE00 6.48
Purplish Pink
#CE5DAE
ΔE00 7.23
Soft Purple
#A66FB5
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5E97 #5EAB72
analogous
#995EAB #AB5E97 #AB5E71
triadic
#AB5E97 #97AB5E #5E97AB
tetradic
#AB5E97 #AB995E #5EAB72 #5E71AB
square
#AB5E97 #AB995E #5EAB72 #5E71AB
split-complementary
#AB5E97 #71AB5E #5EAB99
monochromatic
#5E3152 #864675 #AB5E97 #C086B1 #D5AECB
Accessibility & contrast
On white
4.39
#AB5E97 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#AB5E97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB5E97
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5E97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB5E97 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#747D95
Tritanopia (blue-blind)
#B26074
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ab5e97; /* rgb */ color: rgb(171, 94, 151); /* oklch */ color: oklch(59.0% 0.123 337.6);
Tailwind
colors: {
custom: {
50: '#c68eb5',
500: '#ab5e97',
950: '#000000',
},
}SCSS
$custom: #ab5e97; $custom-light: #c68eb5; $custom-dark: #000000;
JSON
{
"hex": "#ab5e97",
"rgb": {
"r": 171,
"g": 94,
"b": 151
},
"hsl": {
"h": 315.584,
"s": 31.429,
"l": 51.961
},
"oklch": {
"l": 0.58965,
"c": 0.12349,
"h": 337.6
},
"luminance": 0.18898
}Semantic roles & 50–950 ramp
primary
#AB5E97
secondary
#A2C3AA
accent
#C87B60
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80