#A0171C#A0171C
#A0171C is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.170 H 26.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A0171C |
|---|---|
| RGB | rgb(160, 23, 28) |
| HSL | hsl(358, 75%, 36%) |
| HSV | hsv(358, 86%, 63%) |
| CMYK | cmyk(0%, 85.6%, 82.5%, 37.3%) |
| CIE-LAB | lab(34.34, 53.31, 35.05) |
| CIE-LCH | lch(34.34, 63.80, 33.33°) |
| OKLab | oklab(45.46% 0.153 0.0749) |
| OKLCH | oklch(45.46% 0.17 26.1) |
| XYZ | xyz(15.0151, 8.1727, 1.8853) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 1.71
Brown
#A52A2A
ΔE00 3.22
Firebrick
#B22222
ΔE00 4.14
Darkish Red
#A90308
ΔE00 4.21
Crimson (survey)
#8C000F
ΔE00 4.72
Blood Red
#980002
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0171C #17A09B
analogous
#A01760 #A0171C #A05617
triadic
#A0171C #1CA017 #171CA0
tetradic
#A0171C #60A017 #17A09B #5617A0
square
#A0171C #60A017 #17A09B #5617A0
split-complementary
#A0171C #17A056 #1760A0
monochromatic
#350809 #6A0F13 #A0171C #D61F25 #E54C52
Accessibility & contrast
On white
7.97
#A0171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#A0171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A0171C
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A0171C | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E1A
Deuteranopia (green-blind)
#665B15
Tritanopia (blue-blind)
#B1001B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #a0171c; /* rgb */ color: rgb(160, 23, 28); /* oklch */ color: oklch(45.5% 0.170 26.1);
Tailwind
colors: {
custom: {
50: '#c66559',
500: '#a0171c',
950: '#000000',
},
}SCSS
$custom: #a0171c; $custom-light: #c66559; $custom-dark: #000000;
JSON
{
"hex": "#a0171c",
"rgb": {
"r": 160,
"g": 23,
"b": 28
},
"hsl": {
"h": 357.81,
"s": 74.863,
"l": 35.882
},
"oklch": {
"l": 0.45463,
"c": 0.17039,
"h": 26.1
},
"luminance": 0.0817
}Semantic roles & 50–950 ramp
primary
#A0171C
secondary
#4CC7C3
accent
#F1EB36
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78