#A0171B#A0171B
#A0171B is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.171 H 26.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A0171B |
|---|---|
| RGB | rgb(160, 23, 27) |
| HSL | hsl(358, 75%, 36%) |
| HSV | hsv(358, 86%, 63%) |
| CMYK | cmyk(0%, 85.6%, 83.1%, 37.3%) |
| CIE-LAB | lab(34.33, 53.28, 35.61) |
| CIE-LCH | lch(34.33, 64.08, 33.76°) |
| OKLab | oklab(45.45% 0.1527 0.0758) |
| OKLCH | oklch(45.45% 0.171 26.4) |
| XYZ | xyz(15.0033, 8.1680, 1.8233) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 1.72
Brown
#A52A2A
ΔE00 3.36
Darkish Red
#A90308
ΔE00 3.95
Firebrick
#B22222
ΔE00 4.12
Blood Red
#980002
ΔE00 4.61
Crimson (survey)
#8C000F
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0171B #17A09C
analogous
#A0175F #A0171B #A05717
triadic
#A0171B #1BA017 #171BA0
tetradic
#A0171B #5FA017 #17A09C #5717A0
square
#A0171B #5FA017 #17A09C #5717A0
split-complementary
#A0171B #17A057 #175FA0
monochromatic
#350809 #6A0F12 #A0171B #D61F24 #E54C51
Accessibility & contrast
On white
7.98
#A0171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#A0171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A0171B
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A0171B | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E19
Deuteranopia (green-blind)
#665B14
Tritanopia (blue-blind)
#B1001B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #a0171b; /* rgb */ color: rgb(160, 23, 27); /* oklch */ color: oklch(45.5% 0.171 26.4);
Tailwind
colors: {
custom: {
50: '#c66558',
500: '#a0171b',
950: '#000000',
},
}SCSS
$custom: #a0171b; $custom-light: #c66558; $custom-dark: #000000;
JSON
{
"hex": "#a0171b",
"rgb": {
"r": 160,
"g": 23,
"b": 27
},
"hsl": {
"h": 358.248,
"s": 74.863,
"l": 35.882
},
"oklch": {
"l": 0.45452,
"c": 0.1705,
"h": 26.4
},
"luminance": 0.08166
}Semantic roles & 50–950 ramp
primary
#A0171B
secondary
#4CC7C3
accent
#F1EC36
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78