#AB4E97#AB4E97
#AB4E97 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.151 H 336.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4E97 |
|---|---|
| RGB | rgb(171, 78, 151) |
| HSL | hsl(313, 37%, 49%) |
| HSV | hsv(313, 54%, 67%) |
| CMYK | cmyk(0%, 54.4%, 11.7%, 32.9%) |
| CIE-LAB | lab(47.42, 47.44, -22.37) |
| CIE-LCH | lch(47.42, 52.45, 334.75°) |
| OKLab | oklab(56.62% 0.1382 -0.0605) |
| OKLCH | oklch(56.62% 0.151 336.4) |
| XYZ | xyz(25.1051, 16.3429, 31.1044) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.36
Ugly Purple
#A442A0
ΔE00 4.66
Purplish
#94568C
ΔE00 5.09
Medium Purple
#9E43A2
ΔE00 5.80
Light Plum
#9D5783
ΔE00 5.80
Purpley Pink
#C83CB9
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4E97 #4EAB62
analogous
#914EAB #AB4E97 #AB4E69
triadic
#AB4E97 #97AB4E #4E97AB
tetradic
#AB4E97 #AB914E #4EAB62 #4E69AB
square
#AB4E97 #AB914E #4EAB62 #4E69AB
split-complementary
#AB4E97 #69AB4E #4EAB91
monochromatic
#57284D #813B72 #AB4E97 #C076B0 #D4A0C8
Accessibility & contrast
On white
4.92
#AB4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#AB4E97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4E97
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4E97 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6899
Deuteranopia (green-blind)
#6A7694
Tritanopia (blue-blind)
#B3526C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ab4e97; /* rgb */ color: rgb(171, 78, 151); /* oklch */ color: oklch(56.6% 0.151 336.4);
Tailwind
colors: {
custom: {
50: '#c684b5',
500: '#ab4e97',
950: '#000000',
},
}SCSS
$custom: #ab4e97; $custom-light: #c684b5; $custom-dark: #000000;
JSON
{
"hex": "#ab4e97",
"rgb": {
"r": 171,
"g": 78,
"b": 151
},
"hsl": {
"h": 312.903,
"s": 37.349,
"l": 48.824
},
"oklch": {
"l": 0.5662,
"c": 0.15084,
"h": 336.4
},
"luminance": 0.16341
}Semantic roles & 50–950 ramp
primary
#AB4E97
secondary
#94C19E
accent
#CD735A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80