#AB2159#AB2159
#AB2159 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.176 H 2.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2159 |
|---|---|
| RGB | rgb(171, 33, 89) |
| HSL | hsl(336, 68%, 40%) |
| HSV | hsv(336, 81%, 67%) |
| CMYK | cmyk(0%, 80.7%, 48%, 32.9%) |
| CIE-LAB | lab(38.67, 57.43, 2.66) |
| CIE-LCH | lch(38.67, 57.49, 2.65°) |
| OKLab | oklab(49.44% 0.1763 0.0074) |
| OKLCH | oklch(49.44% 0.176 2.4) |
| XYZ | xyz(19.1433, 10.4696, 10.4620) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.25
Purplish Red
#B0054B
ΔE00 3.80
Raspberry (survey)
#B00149
ΔE00 4.28
Berry
#990F4B
ΔE00 4.61
Dark Fuchsia
#9D0759
ΔE00 5.06
Deep Magenta
#A0025C
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2159 #21AB73
analogous
#AB219E #AB2159 #AB2E21
triadic
#AB2159 #59AB21 #2159AB
tetradic
#AB2159 #9EAB21 #21AB73 #2E21AB
square
#AB2159 #9EAB21 #21AB73 #2E21AB
split-complementary
#AB2159 #21AB2E #219EAB
monochromatic
#440D24 #78173E #AB2159 #D73275 #E16598
Accessibility & contrast
On white
6.79
#AB2159 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2159 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2159
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2159 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2159 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A5A
Deuteranopia (green-blind)
#696556
Tritanopia (blue-blind)
#BA003A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2159; /* rgb */ color: rgb(171, 33, 89); /* oklch */ color: oklch(49.4% 0.176 2.4);
Tailwind
colors: {
custom: {
50: '#ca6c87',
500: '#ab2159',
950: '#000000',
},
}SCSS
$custom: #ab2159; $custom-light: #ca6c87; $custom-dark: #000000;
JSON
{
"hex": "#ab2159",
"rgb": {
"r": 171,
"g": 33,
"b": 89
},
"hsl": {
"h": 335.652,
"s": 67.647,
"l": 40
},
"oklch": {
"l": 0.49438,
"c": 0.17642,
"h": 2.4
},
"luminance": 0.10467
}Semantic roles & 50–950 ramp
primary
#AB2159
secondary
#61C79D
accent
#EBA43D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C