#AB2950#AB2950
#AB2950 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.167 H 8.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2950 |
|---|---|
| RGB | rgb(171, 41, 80) |
| HSL | hsl(342, 61%, 42%) |
| HSV | hsv(342, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 53.2%, 32.9%) |
| CIE-LAB | lab(39.29, 54.25, 9.26) |
| CIE-LCH | lch(39.29, 55.03, 9.69°) |
| OKLab | oklab(49.81% 0.1651 0.0238) |
| OKLCH | oklch(49.81% 0.167 8.2) |
| XYZ | xyz(19.0372, 10.8257, 8.6750) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.74
Raspberry (survey)
#B00149
ΔE00 2.94
Light Burgundy
#A8415B
ΔE00 4.23
Cranberry
#9E003A
ΔE00 5.80
Rouge
#AB1239
ΔE00 5.86
Berry
#990F4B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2950 #29AB84
analogous
#AB2991 #AB2950 #AB4329
triadic
#AB2950 #50AB29 #2950AB
tetradic
#AB2950 #91AB29 #29AB84 #4329AB
square
#AB2950 #91AB29 #29AB84 #4329AB
split-complementary
#AB2950 #29AB43 #2991AB
monochromatic
#481122 #7A1D39 #AB2950 #D1406C #DD7192
Accessibility & contrast
On white
6.64
#AB2950 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2950 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2950
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2950 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2950 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4C51
Deuteranopia (green-blind)
#6C664D
Tritanopia (blue-blind)
#BB023A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2950; /* rgb */ color: rgb(171, 41, 80); /* oklch */ color: oklch(49.8% 0.167 8.2);
Tailwind
colors: {
custom: {
50: '#ca6f80',
500: '#ab2950',
950: '#000000',
},
}SCSS
$custom: #ab2950; $custom-light: #ca6f80; $custom-dark: #000000;
JSON
{
"hex": "#ab2950",
"rgb": {
"r": 171,
"g": 41,
"b": 80
},
"hsl": {
"h": 342,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.4981,
"c": 0.16682,
"h": 8.2
},
"luminance": 0.10823
}Semantic roles & 50–950 ramp
primary
#AB2950
secondary
#6CC4AA
accent
#E4B443
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C