#AB312B#AB312B
#AB312B is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.8% C 0.159 H 27.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AB312B |
|---|---|
| RGB | rgb(171, 49, 43) |
| HSL | hsl(3, 60%, 42%) |
| HSV | hsv(3, 75%, 67%) |
| CMYK | cmyk(0%, 71.3%, 74.9%, 32.9%) |
| CIE-LAB | lab(39.63, 49.08, 32.64) |
| CIE-LCH | lch(39.63, 58.94, 33.62°) |
| OKLab | oklab(49.85% 0.1416 0.0733) |
| OKLCH | oklch(49.85% 0.159 27.4) |
| XYZ | xyz(18.3310, 11.0317, 3.4491) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.21
Firebrick
#B22222
ΔE00 2.26
Brick
#A03623
ΔE00 3.80
Brownish Red
#9E3623
ΔE00 4.00
Scarlet
#BE0119
ΔE00 4.67
Dull Red
#BB3F3F
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB312B #2BA5AB
analogous
#AB2B65 #AB312B #AB712B
triadic
#AB312B #2BAB31 #312BAB
tetradic
#AB312B #65AB2B #2BA5AB #712BAB
square
#AB312B #65AB2B #2BA5AB #712BAB
split-complementary
#AB312B #2BAB71 #2B65AB
monochromatic
#491512 #7A231F #AB312B #D04A43 #DC7974
Accessibility & contrast
On white
6.55
#AB312B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB312B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB312B
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB312B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB312B | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#BC0131
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab312b; /* rgb */ color: rgb(171, 49, 43); /* oklch */ color: oklch(49.8% 0.159 27.4);
Tailwind
colors: {
custom: {
50: '#cc7165',
500: '#ab312b',
950: '#000000',
},
}SCSS
$custom: #ab312b; $custom-light: #cc7165; $custom-dark: #000000;
JSON
{
"hex": "#ab312b",
"rgb": {
"r": 171,
"g": 49,
"b": 43
},
"hsl": {
"h": 2.813,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.49847,
"c": 0.15943,
"h": 27.4
},
"luminance": 0.11029
}Semantic roles & 50–950 ramp
primary
#AB312B
secondary
#6EC0C4
accent
#DCE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A