#AB3147#AB3147
#AB3147 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.158 H 14.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3147 |
|---|---|
| RGB | rgb(171, 49, 71) |
| HSL | hsl(349, 55%, 43%) |
| HSV | hsv(349, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 58.5%, 32.9%) |
| CIE-LAB | lab(40.10, 50.70, 16.07) |
| CIE-LCH | lch(40.10, 53.19, 17.59°) |
| OKLab | oklab(50.35% 0.1524 0.0398) |
| OKLCH | oklch(50.35% 0.158 14.6) |
| XYZ | xyz(19.0321, 11.3121, 7.1413) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.92
Rose Red
#BE013C
ΔE00 4.57
Light Maroon
#A24857
ΔE00 5.23
Light Burgundy
#A8415B
ΔE00 5.35
Raspberry (survey)
#B00149
ΔE00 5.45
Ruby
#CA0147
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3147 #31AB95
analogous
#AB3184 #AB3147 #AB5831
triadic
#AB3147 #47AB31 #3147AB
tetradic
#AB3147 #84AB31 #31AB95 #5831AB
square
#AB3147 #84AB31 #31AB95 #5831AB
split-complementary
#AB3147 #31AB58 #3184AB
monochromatic
#4C161F #7B2333 #AB3147 #CC4D64 #DA7D8D
Accessibility & contrast
On white
6.44
#AB3147 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AB3147 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3147
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3147 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514E47
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#BB123A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab3147; /* rgb */ color: rgb(171, 49, 71); /* oklch */ color: oklch(50.3% 0.158 14.6);
Tailwind
colors: {
custom: {
50: '#ca727a',
500: '#ab3147',
950: '#000000',
},
}SCSS
$custom: #ab3147; $custom-light: #ca727a; $custom-dark: #000000;
JSON
{
"hex": "#ab3147",
"rgb": {
"r": 171,
"g": 49,
"b": 71
},
"hsl": {
"h": 349.18,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50346,
"c": 0.1575,
"h": 14.6
},
"luminance": 0.11309
}Semantic roles & 50–950 ramp
primary
#AB3147
secondary
#75C2B4
accent
#DFC449
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B