#AB2C5F#AB2C5F
#AB2C5F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.167 H 1.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C5F |
|---|---|
| RGB | rgb(171, 44, 95) |
| HSL | hsl(336, 59%, 42%) |
| HSV | hsv(336, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 44.4%, 32.9%) |
| CIE-LAB | lab(40.06, 54.57, 0.87) |
| CIE-LCH | lch(40.06, 54.57, 0.91°) |
| OKLab | oklab(50.52% 0.1674 0.0029) |
| OKLCH | oklch(50.52% 0.167 1) |
| XYZ | xyz(19.7623, 11.2881, 11.9624) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.48
Light Burgundy
#A8415B
ΔE00 5.09
Purplish Red
#B0054B
ΔE00 5.23
Deep Pink
#CB0162
ΔE00 5.61
Raspberry (survey)
#B00149
ΔE00 5.70
Deep Magenta
#A0025C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C5F #2CAB78
analogous
#AB2C9E #AB2C5F #AB392C
triadic
#AB2C5F #5FAB2C #2C5FAB
tetradic
#AB2C5F #9EAB2C #2CAB78 #392CAB
square
#AB2C5F #9EAB2C #2CAB78 #392CAB
split-complementary
#AB2C5F #2CAB39 #2C9EAB
monochromatic
#4A1329 #7A1F44 #AB2C5F #CF457D #DC769F
Accessibility & contrast
On white
6.45
#AB2C5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AB2C5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C5F
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C5F | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#BA1742
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2c5f; /* rgb */ color: rgb(171, 44, 95); /* oklch */ color: oklch(50.5% 0.167 1.0);
Tailwind
colors: {
custom: {
50: '#c9708c',
500: '#ab2c5f',
950: '#000000',
},
}SCSS
$custom: #ab2c5f; $custom-light: #c9708c; $custom-dark: #000000;
JSON
{
"hex": "#ab2c5f",
"rgb": {
"r": 171,
"g": 44,
"b": 95
},
"hsl": {
"h": 335.906,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.50517,
"c": 0.16739,
"h": 1
},
"luminance": 0.11286
}Semantic roles & 50–950 ramp
primary
#AB2C5F
secondary
#6FC3A2
accent
#E2A346
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D