#AB215B#AB215B
#AB215B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.177 H 1.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AB215B |
|---|---|
| RGB | rgb(171, 33, 91) |
| HSL | hsl(335, 68%, 40%) |
| HSV | hsv(335, 81%, 67%) |
| CMYK | cmyk(0%, 80.7%, 46.8%, 32.9%) |
| CIE-LAB | lab(38.73, 57.61, 1.47) |
| CIE-LCH | lch(38.73, 57.63, 1.46°) |
| OKLab | oklab(49.5% 0.177 0.0044) |
| OKLCH | oklch(49.5% 0.177 1.4) |
| XYZ | xyz(19.2284, 10.5036, 10.9104) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.12
Purplish Red
#B0054B
ΔE00 4.31
Berry
#990F4B
ΔE00 4.74
Dark Fuchsia
#9D0759
ΔE00 4.76
Deep Magenta
#A0025C
ΔE00 4.77
Raspberry (survey)
#B00149
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB215B #21AB71
analogous
#AB21A0 #AB215B #AB2C21
triadic
#AB215B #5BAB21 #215BAB
tetradic
#AB215B #A0AB21 #21AB71 #2C21AB
square
#AB215B #A0AB21 #21AB71 #2C21AB
split-complementary
#AB215B #21AB2C #21A0AB
monochromatic
#440D24 #781740 #AB215B #D73277 #E16599
Accessibility & contrast
On white
6.77
#AB215B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB215B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB215B
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB215B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB215B | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434A5C
Deuteranopia (green-blind)
#686558
Tritanopia (blue-blind)
#BA003B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab215b; /* rgb */ color: rgb(171, 33, 91); /* oklch */ color: oklch(49.5% 0.177 1.4);
Tailwind
colors: {
custom: {
50: '#ca6c89',
500: '#ab215b',
950: '#000000',
},
}SCSS
$custom: #ab215b; $custom-light: #ca6c89; $custom-dark: #000000;
JSON
{
"hex": "#ab215b",
"rgb": {
"r": 171,
"g": 33,
"b": 91
},
"hsl": {
"h": 334.783,
"s": 67.647,
"l": 40
},
"oklch": {
"l": 0.49501,
"c": 0.177,
"h": 1.4
},
"luminance": 0.10501
}Semantic roles & 50–950 ramp
primary
#AB215B
secondary
#61C79C
accent
#EBA23D
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C