#AB313A#AB313A
#AB313A is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.1% C 0.158 H 21.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AB313A |
|---|---|
| RGB | rgb(171, 49, 58) |
| HSL | hsl(356, 55%, 43%) |
| HSV | hsv(356, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 66.1%, 32.9%) |
| CIE-LAB | lab(39.85, 49.84, 23.86) |
| CIE-LCH | lch(39.85, 55.26, 25.58°) |
| OKLab | oklab(50.08% 0.1472 0.0566) |
| OKLCH | oklch(50.08% 0.158 21) |
| XYZ | xyz(18.6586, 11.1628, 5.1743) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.12
Cardinal
#C41E3A
ΔE00 4.51
Lipstick Red
#C0022F
ΔE00 4.58
Rouge
#AB1239
ΔE00 4.83
Rose Red
#BE013C
ΔE00 5.06
Dull Red
#BB3F3F
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB313A #31ABA2
analogous
#AB3177 #AB313A #AB6531
triadic
#AB313A #3AAB31 #313AAB
tetradic
#AB313A #77AB31 #31ABA2 #6531AB
square
#AB313A #77AB31 #31ABA2 #6531AB
split-complementary
#AB313A #31AB65 #3177AB
monochromatic
#4C161A #7B232A #AB313A #CC4D57 #DA7D84
Accessibility & contrast
On white
6.50
#AB313A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AB313A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB313A
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB313A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB313A | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534D39
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#BC0A35
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab313a; /* rgb */ color: rgb(171, 49, 58); /* oklch */ color: oklch(50.1% 0.158 21.0);
Tailwind
colors: {
custom: {
50: '#cb7270',
500: '#ab313a',
950: '#000000',
},
}SCSS
$custom: #ab313a; $custom-light: #cb7270; $custom-dark: #000000;
JSON
{
"hex": "#ab313a",
"rgb": {
"r": 171,
"g": 49,
"b": 58
},
"hsl": {
"h": 355.574,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50081,
"c": 0.15769,
"h": 21
},
"luminance": 0.1116
}Semantic roles & 50–950 ramp
primary
#AB313A
secondary
#75C2BD
accent
#DFD449
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A