#AB2956#AB2956
#AB2956 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.168 H 5.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2956 |
|---|---|
| RGB | rgb(171, 41, 86) |
| HSL | hsl(339, 61%, 42%) |
| HSV | hsv(339, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 49.7%, 32.9%) |
| CIE-LAB | lab(39.44, 54.75, 5.67) |
| CIE-LCH | lch(39.44, 55.04, 5.91°) |
| OKLab | oklab(49.98% 0.1674 0.015) |
| OKLCH | oklch(49.98% 0.168 5.1) |
| XYZ | xyz(19.2689, 10.9183, 9.8951) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.27
Raspberry (survey)
#B00149
ΔE00 3.68
Light Burgundy
#A8415B
ΔE00 4.32
Violet Red
#A50055
ΔE00 4.79
Berry
#990F4B
ΔE00 5.37
Deep Pink
#CB0162
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2956 #29AB7E
analogous
#AB2997 #AB2956 #AB3D29
triadic
#AB2956 #56AB29 #2956AB
tetradic
#AB2956 #97AB29 #29AB7E #3D29AB
square
#AB2956 #97AB29 #29AB7E #3D29AB
split-complementary
#AB2956 #29AB3D #2997AB
monochromatic
#481124 #7A1D3D #AB2956 #D14072 #DD7197
Accessibility & contrast
On white
6.60
#AB2956 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2956 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2956
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2956 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2956 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494D57
Deuteranopia (green-blind)
#6B6653
Tritanopia (blue-blind)
#BA083C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2956; /* rgb */ color: rgb(171, 41, 86); /* oklch */ color: oklch(50.0% 0.168 5.1);
Tailwind
colors: {
custom: {
50: '#ca6f85',
500: '#ab2956',
950: '#000000',
},
}SCSS
$custom: #ab2956; $custom-light: #ca6f85; $custom-dark: #000000;
JSON
{
"hex": "#ab2956",
"rgb": {
"r": 171,
"g": 41,
"b": 86
},
"hsl": {
"h": 339.231,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49977,
"c": 0.16806,
"h": 5.1
},
"luminance": 0.10916
}Semantic roles & 50–950 ramp
primary
#AB2956
secondary
#6CC4A6
accent
#E4AD43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C