#AB4B97#AB4B97
#AB4B97 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.2% C 0.156 H 336.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4B97 |
|---|---|
| RGB | rgb(171, 75, 151) |
| HSL | hsl(313, 39%, 48%) |
| HSV | hsv(313, 56%, 67%) |
| CMYK | cmyk(0%, 56.1%, 11.7%, 32.9%) |
| CIE-LAB | lab(46.88, 48.89, -23.21) |
| CIE-LCH | lch(46.88, 54.12, 334.60°) |
| OKLab | oklab(56.22% 0.1425 -0.0628) |
| OKLCH | oklch(56.22% 0.156 336.2) |
| XYZ | xyz(24.8968, 15.9263, 31.0349) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.08
Purpleish
#98568D
ΔE00 4.67
Medium Purple
#9E43A2
ΔE00 5.29
Purplish
#94568C
ΔE00 5.34
Light Plum
#9D5783
ΔE00 6.21
Purpley Pink
#C83CB9
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4B97 #4BAB5F
analogous
#8F4BAB #AB4B97 #AB4B67
triadic
#AB4B97 #97AB4B #4B97AB
tetradic
#AB4B97 #AB8F4B #4BAB5F #4B67AB
square
#AB4B97 #AB8F4B #4BAB5F #4B67AB
split-complementary
#AB4B97 #67AB4B #4BAB8F
monochromatic
#56264C #803871 #AB4B97 #C172B1 #D49DC8
Accessibility & contrast
On white
5.02
#AB4B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#AB4B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4B97
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4B97 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C6699
Deuteranopia (green-blind)
#687494
Tritanopia (blue-blind)
#B3506A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab4b97; /* rgb */ color: rgb(171, 75, 151); /* oklch */ color: oklch(56.2% 0.156 336.2);
Tailwind
colors: {
custom: {
50: '#c682b5',
500: '#ab4b97',
950: '#000000',
},
}SCSS
$custom: #ab4b97; $custom-light: #c682b5; $custom-dark: #000000;
JSON
{
"hex": "#ab4b97",
"rgb": {
"r": 171,
"g": 75,
"b": 151
},
"hsl": {
"h": 312.5,
"s": 39.024,
"l": 48.235
},
"oklch": {
"l": 0.56218,
"c": 0.15569,
"h": 336.2
},
"luminance": 0.15924
}Semantic roles & 50–950 ramp
primary
#AB4B97
secondary
#91C09B
accent
#CF7159
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80