#AB2954#AB2954
#AB2954 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.168 H 6.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2954 |
|---|---|
| RGB | rgb(171, 41, 84) |
| HSL | hsl(340, 61%, 42%) |
| HSV | hsv(340, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 50.9%, 32.9%) |
| CIE-LAB | lab(39.39, 54.58, 6.86) |
| CIE-LCH | lch(39.39, 55.01, 7.17°) |
| OKLab | oklab(49.92% 0.1666 0.0179) |
| OKLCH | oklch(49.92% 0.168 6.1) |
| XYZ | xyz(19.1894, 10.8865, 9.4766) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.98
Raspberry (survey)
#B00149
ΔE00 3.34
Light Burgundy
#A8415B
ΔE00 4.20
Violet Red
#A50055
ΔE00 5.14
Berry
#990F4B
ΔE00 5.49
Deep Pink
#CB0162
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2954 #29AB80
analogous
#AB2995 #AB2954 #AB3F29
triadic
#AB2954 #54AB29 #2954AB
tetradic
#AB2954 #95AB29 #29AB80 #3F29AB
square
#AB2954 #95AB29 #29AB80 #3F29AB
split-complementary
#AB2954 #29AB3F #2995AB
monochromatic
#481124 #7A1D3C #AB2954 #D14070 #DD7195
Accessibility & contrast
On white
6.61
#AB2954 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2954 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2954
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2954 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2954 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494C55
Deuteranopia (green-blind)
#6B6651
Tritanopia (blue-blind)
#BA063B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2954; /* rgb */ color: rgb(171, 41, 84); /* oklch */ color: oklch(49.9% 0.168 6.1);
Tailwind
colors: {
custom: {
50: '#ca6f83',
500: '#ab2954',
950: '#000000',
},
}SCSS
$custom: #ab2954; $custom-light: #ca6f83; $custom-dark: #000000;
JSON
{
"hex": "#ab2954",
"rgb": {
"r": 171,
"g": 41,
"b": 84
},
"hsl": {
"h": 340.154,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.4992,
"c": 0.1676,
"h": 6.1
},
"luminance": 0.10884
}Semantic roles & 50–950 ramp
primary
#AB2954
secondary
#6CC4A7
accent
#E4AF43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C