#AB2F5F#AB2F5F
#AB2F5F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.164 H 1.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F5F |
|---|---|
| RGB | rgb(171, 47, 95) |
| HSL | hsl(337, 57%, 43%) |
| HSV | hsv(337, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 44.4%, 32.9%) |
| CIE-LAB | lab(40.44, 53.50, 1.42) |
| CIE-LCH | lch(40.44, 53.52, 1.52°) |
| OKLab | oklab(50.8% 0.164 0.0043) |
| OKLCH | oklch(50.8% 0.164 1.5) |
| XYZ | xyz(19.8782, 11.5197, 12.0010) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.57
Violet Red
#A50055
ΔE00 4.94
Purplish Red
#B0054B
ΔE00 5.29
Deep Pink
#CB0162
ΔE00 5.60
Raspberry (survey)
#B00149
ΔE00 5.75
Berry
#990F4B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F5F #2FAB7B
analogous
#AB2F9D #AB2F5F #AB3D2F
triadic
#AB2F5F #5FAB2F #2F5FAB
tetradic
#AB2F5F #9DAB2F #2FAB7B #3D2FAB
square
#AB2F5F #9DAB2F #2FAB7B #3D2FAB
split-complementary
#AB2F5F #2FAB3D #2F9DAB
monochromatic
#4B152A #7B2244 #AB2F5F #CD4A7D #DA7A9F
Accessibility & contrast
On white
6.36
#AB2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AB2F5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F5F
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F5F | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#BA1C43
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2f5f; /* rgb */ color: rgb(171, 47, 95); /* oklch */ color: oklch(50.8% 0.164 1.5);
Tailwind
colors: {
custom: {
50: '#c9728c',
500: '#ab2f5f',
950: '#000000',
},
}SCSS
$custom: #ab2f5f; $custom-light: #c9728c; $custom-dark: #000000;
JSON
{
"hex": "#ab2f5f",
"rgb": {
"r": 171,
"g": 47,
"b": 95
},
"hsl": {
"h": 336.774,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50798,
"c": 0.16402,
"h": 1.5
},
"luminance": 0.11517
}Semantic roles & 50–950 ramp
primary
#AB2F5F
secondary
#73C3A4
accent
#E0A548
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D