#AB3151#AB3151
#AB3151 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.158 H 9.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3151 |
|---|---|
| RGB | rgb(171, 49, 81) |
| HSL | hsl(344, 55%, 43%) |
| HSV | hsv(344, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 52.6%, 32.9%) |
| CIE-LAB | lab(40.33, 51.49, 10.09) |
| CIE-LCH | lch(40.33, 52.46, 11.09°) |
| OKLab | oklab(50.59% 0.1564 0.0258) |
| OKLCH | oklch(50.59% 0.158 9.4) |
| XYZ | xyz(19.3798, 11.4512, 8.9728) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.22
Purplish Red
#B0054B
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.11
Light Maroon
#A24857
ΔE00 4.81
Dark Rose
#B5485D
ΔE00 5.53
Rouge
#AB1239
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3151 #31AB8B
analogous
#AB318E #AB3151 #AB4E31
triadic
#AB3151 #51AB31 #3151AB
tetradic
#AB3151 #8EAB31 #31AB8B #4E31AB
square
#AB3151 #8EAB31 #31AB8B #4E31AB
split-complementary
#AB3151 #31AB4E #318EAB
monochromatic
#4C1624 #7B233A #AB3151 #CC4D6E #DA7D95
Accessibility & contrast
On white
6.38
#AB3151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AB3151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3151
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3151 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F52
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#BB173E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab3151; /* rgb */ color: rgb(171, 49, 81); /* oklch */ color: oklch(50.6% 0.158 9.4);
Tailwind
colors: {
custom: {
50: '#ca7281',
500: '#ab3151',
950: '#000000',
},
}SCSS
$custom: #ab3151; $custom-light: #ca7281; $custom-dark: #000000;
JSON
{
"hex": "#ab3151",
"rgb": {
"r": 171,
"g": 49,
"b": 81
},
"hsl": {
"h": 344.262,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50591,
"c": 0.15848,
"h": 9.4
},
"luminance": 0.11449
}Semantic roles & 50–950 ramp
primary
#AB3151
secondary
#75C2AE
accent
#DFB749
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C