#AB2E7E#AB2E7E
#AB2E7E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.179 H 345.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E7E |
|---|---|
| RGB | rgb(171, 46, 126) |
| HSL | hsl(322, 58%, 43%) |
| HSV | hsv(322, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 26.3%, 32.9%) |
| CIE-LAB | lab(41.41, 57.39, -16.47) |
| CIE-LCH | lch(41.41, 59.70, 343.99°) |
| OKLab | oklab(51.86% 0.174 -0.0437) |
| OKLCH | oklch(51.86% 0.179 345.9) |
| XYZ | xyz(21.5384, 12.1206, 20.9398) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.74
Mediumvioletred
#C71585
ΔE00 4.85
Red Violet
#9E0168
ΔE00 6.15
Warm Purple
#952E8F
ΔE00 7.28
Deep Magenta
#A0025C
ΔE00 7.65
Ugly Purple
#A442A0
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E7E #2EAB5B
analogous
#9A2EAB #AB2E7E #AB2E3F
triadic
#AB2E7E #7EAB2E #2E7EAB
tetradic
#AB2E7E #AB9A2E #2EAB5B #2E3FAB
square
#AB2E7E #AB9A2E #2EAB5B #2E3FAB
split-complementary
#AB2E7E #3FAB2E #2EAB9A
monochromatic
#4B1437 #7B215A #AB2E7E #CE489E #DB79B7
Accessibility & contrast
On white
6.13
#AB2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AB2E7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E7E
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E7E | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#B72B52
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ab2e7e; /* rgb */ color: rgb(171, 46, 126); /* oklch */ color: oklch(51.9% 0.179 345.9);
Tailwind
colors: {
custom: {
50: '#c872a3',
500: '#ab2e7e',
950: '#000000',
},
}SCSS
$custom: #ab2e7e; $custom-light: #c872a3; $custom-dark: #000000;
JSON
{
"hex": "#ab2e7e",
"rgb": {
"r": 171,
"g": 46,
"b": 126
},
"hsl": {
"h": 321.6,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.51863,
"c": 0.17937,
"h": 345.9
},
"luminance": 0.12118
}Semantic roles & 50–950 ramp
primary
#AB2E7E
secondary
#72C38F
accent
#E17E47
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F