#AB2957#AB2957
#AB2957 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.168 H 4.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2957 |
|---|---|
| RGB | rgb(171, 41, 87) |
| HSL | hsl(339, 61%, 42%) |
| HSV | hsv(339, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 49.1%, 32.9%) |
| CIE-LAB | lab(39.47, 54.84, 5.08) |
| CIE-LCH | lch(39.47, 55.07, 5.29°) |
| OKLab | oklab(50.01% 0.1678 0.0135) |
| OKLCH | oklch(50.01% 0.168 4.6) |
| XYZ | xyz(19.3095, 10.9345, 10.1088) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.45
Raspberry (survey)
#B00149
ΔE00 3.87
Light Burgundy
#A8415B
ΔE00 4.40
Violet Red
#A50055
ΔE00 4.63
Berry
#990F4B
ΔE00 5.33
Deep Pink
#CB0162
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2957 #29AB7D
analogous
#AB2998 #AB2957 #AB3C29
triadic
#AB2957 #57AB29 #2957AB
tetradic
#AB2957 #98AB29 #29AB7D #3C29AB
square
#AB2957 #98AB29 #29AB7D #3C29AB
split-complementary
#AB2957 #29AB3C #2998AB
monochromatic
#481125 #7A1D3E #AB2957 #D14073 #DD7197
Accessibility & contrast
On white
6.59
#AB2957 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AB2957 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2957
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2957 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494D58
Deuteranopia (green-blind)
#6B6654
Tritanopia (blue-blind)
#BA093D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2957; /* rgb */ color: rgb(171, 41, 87); /* oklch */ color: oklch(50.0% 0.168 4.6);
Tailwind
colors: {
custom: {
50: '#ca6f86',
500: '#ab2957',
950: '#000000',
},
}SCSS
$custom: #ab2957; $custom-light: #ca6f86; $custom-dark: #000000;
JSON
{
"hex": "#ab2957",
"rgb": {
"r": 171,
"g": 41,
"b": 87
},
"hsl": {
"h": 338.769,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.50006,
"c": 0.16829,
"h": 4.6
},
"luminance": 0.10932
}Semantic roles & 50–950 ramp
primary
#AB2957
secondary
#6CC4A5
accent
#E4AB43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C