#A0171A#A0171A
#A0171A is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.171 H 26.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A0171A |
|---|---|
| RGB | rgb(160, 23, 26) |
| HSL | hsl(359, 75%, 36%) |
| HSV | hsv(359, 86%, 63%) |
| CMYK | cmyk(0%, 85.6%, 83.8%, 37.3%) |
| CIE-LAB | lab(34.32, 53.25, 36.16) |
| CIE-LCH | lch(34.32, 64.37, 34.18°) |
| OKLab | oklab(45.44% 0.1525 0.0766) |
| OKLCH | oklch(45.44% 0.171 26.7) |
| XYZ | xyz(14.9920, 8.1635, 1.7634) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 1.78
Brown
#A52A2A
ΔE00 3.51
Darkish Red
#A90308
ΔE00 3.70
Firebrick
#B22222
ΔE00 4.11
Blood Red
#980002
ΔE00 4.37
Deep Red
#9A0200
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0171A #17A09D
analogous
#A0175E #A0171A #A05817
triadic
#A0171A #1AA017 #171AA0
tetradic
#A0171A #5EA017 #17A09D #5817A0
square
#A0171A #5EA017 #17A09D #5817A0
split-complementary
#A0171A #17A058 #175EA0
monochromatic
#350809 #6A0F11 #A0171A #D61F23 #E54C4F
Accessibility & contrast
On white
7.98
#A0171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#A0171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A0171A
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A0171A | 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)
#463E18
Deuteranopia (green-blind)
#665B12
Tritanopia (blue-blind)
#B1001B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #a0171a; /* rgb */ color: rgb(160, 23, 26); /* oklch */ color: oklch(45.4% 0.171 26.7);
Tailwind
colors: {
custom: {
50: '#c66558',
500: '#a0171a',
950: '#000000',
},
}SCSS
$custom: #a0171a; $custom-light: #c66558; $custom-dark: #000000;
JSON
{
"hex": "#a0171a",
"rgb": {
"r": 160,
"g": 23,
"b": 26
},
"hsl": {
"h": 358.686,
"s": 74.863,
"l": 35.882
},
"oklch": {
"l": 0.45443,
"c": 0.1706,
"h": 26.7
},
"luminance": 0.08161
}Semantic roles & 50–950 ramp
primary
#A0171A
secondary
#4CC7C4
accent
#F1ED36
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78