#AB2F5D#AB2F5D
#AB2F5D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.163 H 2.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F5D |
|---|---|
| RGB | rgb(171, 47, 93) |
| HSL | hsl(338, 57%, 43%) |
| HSV | hsv(338, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 45.6%, 32.9%) |
| CIE-LAB | lab(40.38, 53.31, 2.60) |
| CIE-LCH | lch(40.38, 53.37, 2.79°) |
| OKLab | oklab(50.74% 0.1633 0.0073) |
| OKLCH | oklch(50.74% 0.163 2.5) |
| XYZ | xyz(19.7884, 11.4838, 11.5284) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.19
Purplish Red
#B0054B
ΔE00 4.88
Violet Red
#A50055
ΔE00 5.02
Raspberry (survey)
#B00149
ΔE00 5.32
Deep Pink
#CB0162
ΔE00 5.56
Berry
#990F4B
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F5D #2FAB7D
analogous
#AB2F9B #AB2F5D #AB3F2F
triadic
#AB2F5D #5DAB2F #2F5DAB
tetradic
#AB2F5D #9BAB2F #2FAB7D #3F2FAB
square
#AB2F5D #9BAB2F #2FAB7D #3F2FAB
split-complementary
#AB2F5D #2FAB3F #2F9BAB
monochromatic
#4B1529 #7B2243 #AB2F5D #CD4A7B #DA7A9E
Accessibility & contrast
On white
6.37
#AB2F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AB2F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F5D
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F5D | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#BA1B42
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2f5d; /* rgb */ color: rgb(171, 47, 93); /* oklch */ color: oklch(50.7% 0.163 2.5);
Tailwind
colors: {
custom: {
50: '#c9728a',
500: '#ab2f5d',
950: '#000000',
},
}SCSS
$custom: #ab2f5d; $custom-light: #c9728a; $custom-dark: #000000;
JSON
{
"hex": "#ab2f5d",
"rgb": {
"r": 171,
"g": 47,
"b": 93
},
"hsl": {
"h": 337.742,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50735,
"c": 0.16342,
"h": 2.5
},
"luminance": 0.11481
}Semantic roles & 50–950 ramp
primary
#AB2F5D
secondary
#73C3A5
accent
#E0A848
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C