#AB214E#AB214E
#AB214E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.174 H 7.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AB214E |
|---|---|
| RGB | rgb(171, 33, 78) |
| HSL | hsl(340, 68%, 40%) |
| HSV | hsv(340, 81%, 67%) |
| CMYK | cmyk(0%, 80.7%, 54.4%, 32.9%) |
| CIE-LAB | lab(38.37, 56.52, 9.26) |
| CIE-LCH | lch(38.37, 57.27, 9.30°) |
| OKLab | oklab(49.12% 0.1722 0.0237) |
| OKLCH | oklch(49.12% 0.174 7.8) |
| XYZ | xyz(18.7154, 10.2984, 8.2086) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.80
Raspberry (survey)
#B00149
ΔE00 2.03
Cranberry
#9E003A
ΔE00 5.09
Berry
#990F4B
ΔE00 5.19
Light Burgundy
#A8415B
ΔE00 5.22
Violet Red
#A50055
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB214E #21AB7E
analogous
#AB2193 #AB214E #AB3921
triadic
#AB214E #4EAB21 #214EAB
tetradic
#AB214E #93AB21 #21AB7E #3921AB
square
#AB214E #93AB21 #21AB7E #3921AB
split-complementary
#AB214E #21AB39 #2193AB
monochromatic
#440D1F #781737 #AB214E #D73268 #E1658E
Accessibility & contrast
On white
6.86
#AB214E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#AB214E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB214E
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB214E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB214E | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#6A644B
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #ab214e; /* rgb */ color: rgb(171, 33, 78); /* oklch */ color: oklch(49.1% 0.174 7.8);
Tailwind
colors: {
custom: {
50: '#ca6c7f',
500: '#ab214e',
950: '#000000',
},
}SCSS
$custom: #ab214e; $custom-light: #ca6c7f; $custom-dark: #000000;
JSON
{
"hex": "#ab214e",
"rgb": {
"r": 171,
"g": 33,
"b": 78
},
"hsl": {
"h": 340.435,
"s": 67.647,
"l": 40
},
"oklch": {
"l": 0.49121,
"c": 0.17382,
"h": 7.8
},
"luminance": 0.10296
}Semantic roles & 50–950 ramp
primary
#AB214E
secondary
#61C7A6
accent
#EBB23D
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C