#A1172D#A1172D
#A1172D is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.170 H 20.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A1172D |
|---|---|
| RGB | rgb(161, 23, 45) |
| HSL | hsl(350, 75%, 36%) |
| HSV | hsv(350, 86%, 63%) |
| CMYK | cmyk(0%, 85.7%, 72%, 36.9%) |
| CIE-LAB | lab(34.77, 54.23, 25.27) |
| CIE-LCH | lch(34.77, 59.83, 24.98°) |
| OKLab | oklab(45.88% 0.1597 0.0582) |
| OKLCH | oklch(45.88% 0.17 20) |
| XYZ | xyz(15.4798, 8.3818, 3.2849) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.71
Brown
#A52A2A
ΔE00 4.56
Carmine
#9D0216
ΔE00 5.66
Lipstick Red
#C0022F
ΔE00 5.82
Rose Red
#BE013C
ΔE00 6.00
Cranberry
#9E003A
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1172D #17A18B
analogous
#A11772 #A1172D #A14617
triadic
#A1172D #2DA117 #172DA1
tetradic
#A1172D #72A117 #17A18B #4617A1
square
#A1172D #72A117 #17A18B #4617A1
split-complementary
#A1172D #17A146 #1772A1
monochromatic
#36080F #6B0F1E #A1172D #D71F3C #E64D65
Accessibility & contrast
On white
7.85
#A1172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#A1172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1172D
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1172D | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443F2D
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#B10021
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #a1172d; /* rgb */ color: rgb(161, 23, 45); /* oklch */ color: oklch(45.9% 0.170 20.0);
Tailwind
colors: {
custom: {
50: '#c56665',
500: '#a1172d',
950: '#000000',
},
}SCSS
$custom: #a1172d; $custom-light: #c56665; $custom-dark: #000000;
JSON
{
"hex": "#a1172d",
"rgb": {
"r": 161,
"g": 23,
"b": 45
},
"hsl": {
"h": 350.435,
"s": 75,
"l": 36.078
},
"oklch": {
"l": 0.45883,
"c": 0.16999,
"h": 20
},
"luminance": 0.08379
}Semantic roles & 50–950 ramp
primary
#A1172D
secondary
#4CC7B4
accent
#F2D436
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A