#AB3152#AB3152
#AB3152 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.6% C 0.159 H 8.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3152 |
|---|---|
| RGB | rgb(171, 49, 82) |
| HSL | hsl(344, 55%, 43%) |
| HSV | hsv(344, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 52%, 32.9%) |
| CIE-LAB | lab(40.36, 51.57, 9.49) |
| CIE-LCH | lch(40.36, 52.44, 10.43°) |
| OKLab | oklab(50.62% 0.1568 0.0244) |
| OKLCH | oklch(50.62% 0.159 8.8) |
| XYZ | xyz(19.4176, 11.4664, 9.1717) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.11
Purplish Red
#B0054B
ΔE00 3.94
Raspberry (survey)
#B00149
ΔE00 4.10
Light Maroon
#A24857
ΔE00 4.88
Dark Rose
#B5485D
ΔE00 5.58
Rouge
#AB1239
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3152 #31AB8A
analogous
#AB318F #AB3152 #AB4D31
triadic
#AB3152 #52AB31 #3152AB
tetradic
#AB3152 #8FAB31 #31AB8A #4D31AB
square
#AB3152 #8FAB31 #31AB8A #4D31AB
split-complementary
#AB3152 #31AB4D #318FAB
monochromatic
#4C1624 #7B233B #AB3152 #CC4D6F #DA7D96
Accessibility & contrast
On white
6.38
#AB3152 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AB3152 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3152
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3152 | 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)
#4E4F53
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#BA183E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab3152; /* rgb */ color: rgb(171, 49, 82); /* oklch */ color: oklch(50.6% 0.159 8.8);
Tailwind
colors: {
custom: {
50: '#ca7282',
500: '#ab3152',
950: '#000000',
},
}SCSS
$custom: #ab3152; $custom-light: #ca7282; $custom-dark: #000000;
JSON
{
"hex": "#ab3152",
"rgb": {
"r": 171,
"g": 49,
"b": 82
},
"hsl": {
"h": 343.77,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50617,
"c": 0.15864,
"h": 8.8
},
"luminance": 0.11464
}Semantic roles & 50–950 ramp
primary
#AB3152
secondary
#75C2AE
accent
#DFB649
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C