#AB2E5F#AB2E5F
#AB2E5F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.165 H 1.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E5F |
|---|---|
| RGB | rgb(171, 46, 95) |
| HSL | hsl(336, 58%, 43%) |
| HSV | hsv(336, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 44.4%, 32.9%) |
| CIE-LAB | lab(40.31, 53.86, 1.23) |
| CIE-LCH | lch(40.31, 53.88, 1.31°) |
| OKLab | oklab(50.7% 0.1651 0.0038) |
| OKLCH | oklch(50.7% 0.165 1.3) |
| XYZ | xyz(19.8387, 11.4407, 11.9878) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.75
Violet Red
#A50055
ΔE00 4.78
Purplish Red
#B0054B
ΔE00 5.27
Deep Pink
#CB0162
ΔE00 5.60
Raspberry (survey)
#B00149
ΔE00 5.73
Deep Magenta
#A0025C
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E5F #2EAB7A
analogous
#AB2E9E #AB2E5F #AB3B2E
triadic
#AB2E5F #5FAB2E #2E5FAB
tetradic
#AB2E5F #9EAB2E #2EAB7A #3B2EAB
square
#AB2E5F #9EAB2E #2EAB7A #3B2EAB
split-complementary
#AB2E5F #2EAB3B #2E9EAB
monochromatic
#4B1429 #7B2144 #AB2E5F #CE487D #DB799F
Accessibility & contrast
On white
6.39
#AB2E5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AB2E5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E5F
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E5F | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495060
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#BA1A43
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2e5f; /* rgb */ color: rgb(171, 46, 95); /* oklch */ color: oklch(50.7% 0.165 1.3);
Tailwind
colors: {
custom: {
50: '#c9718c',
500: '#ab2e5f',
950: '#000000',
},
}SCSS
$custom: #ab2e5f; $custom-light: #c9718c; $custom-dark: #000000;
JSON
{
"hex": "#ab2e5f",
"rgb": {
"r": 171,
"g": 46,
"b": 95
},
"hsl": {
"h": 336.48,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.50702,
"c": 0.16516,
"h": 1.3
},
"luminance": 0.11438
}Semantic roles & 50–950 ramp
primary
#AB2E5F
secondary
#72C3A3
accent
#E1A547
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D