#AB2154#AB2154
#AB2154 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.175 H 4.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2154 |
|---|---|
| RGB | rgb(171, 33, 84) |
| HSL | hsl(338, 68%, 40%) |
| HSV | hsv(338, 81%, 67%) |
| CMYK | cmyk(0%, 80.7%, 50.9%, 32.9%) |
| CIE-LAB | lab(38.53, 57.00, 5.65) |
| CIE-LCH | lch(38.53, 57.28, 5.66°) |
| OKLab | oklab(49.29% 0.1745 0.0149) |
| OKLCH | oklch(49.29% 0.175 4.9) |
| XYZ | xyz(18.9404, 10.3884, 9.3936) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.60
Raspberry (survey)
#B00149
ΔE00 3.06
Violet Red
#A50055
ΔE00 3.95
Berry
#990F4B
ΔE00 4.59
Purple Red
#990147
ΔE00 5.11
Light Burgundy
#A8415B
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2154 #21AB78
analogous
#AB2199 #AB2154 #AB3321
triadic
#AB2154 #54AB21 #2154AB
tetradic
#AB2154 #99AB21 #21AB78 #3321AB
square
#AB2154 #99AB21 #21AB78 #3321AB
split-complementary
#AB2154 #21AB33 #2199AB
monochromatic
#440D22 #78173B #AB2154 #D7326F #E16593
Accessibility & contrast
On white
6.82
#AB2154 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2154 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2154
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2154 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2154 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454955
Deuteranopia (green-blind)
#696451
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2154; /* rgb */ color: rgb(171, 33, 84); /* oklch */ color: oklch(49.3% 0.175 4.9);
Tailwind
colors: {
custom: {
50: '#ca6c83',
500: '#ab2154',
950: '#000000',
},
}SCSS
$custom: #ab2154; $custom-light: #ca6c83; $custom-dark: #000000;
JSON
{
"hex": "#ab2154",
"rgb": {
"r": 171,
"g": 33,
"b": 84
},
"hsl": {
"h": 337.826,
"s": 67.647,
"l": 40
},
"oklch": {
"l": 0.49288,
"c": 0.17509,
"h": 4.9
},
"luminance": 0.10386
}Semantic roles & 50–950 ramp
primary
#AB2154
secondary
#61C7A1
accent
#EBAA3D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080A
muted
#837A7C