#A1271E#A1271E
#A1271E is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.9% C 0.160 H 29.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A1271E |
|---|---|
| RGB | rgb(161, 39, 30) |
| HSL | hsl(4, 69%, 37%) |
| HSV | hsv(4, 81%, 63%) |
| CMYK | cmyk(0%, 75.8%, 81.4%, 36.9%) |
| CIE-LAB | lab(36.22, 49.01, 35.86) |
| CIE-LCH | lch(36.22, 60.73, 36.19°) |
| OKLab | oklab(46.9% 0.1398 0.0773) |
| OKLCH | oklch(46.9% 0.16 29) |
| XYZ | xyz(15.6597, 9.1243, 2.1647) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 2.97
Brick
#A03623
ΔE00 2.98
Brown
#A52A2A
ΔE00 3.12
Firebrick
#B22222
ΔE00 3.34
Darkish Red
#A90308
ΔE00 3.78
Carmine
#9D0216
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1271E #1E98A1
analogous
#A11E57 #A1271E #A1681E
triadic
#A1271E #1EA127 #271EA1
tetradic
#A1271E #57A11E #1E98A1 #681EA1
square
#A1271E #57A11E #1E98A1 #681EA1
split-complementary
#A1271E #1EA168 #1E57A1
monochromatic
#3A0E0B #6D1B14 #A1271E #D53328 #E06359
Accessibility & contrast
On white
7.44
#A1271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#A1271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1271E
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1271E | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C441C
Deuteranopia (green-blind)
#6A5F18
Tritanopia (blue-blind)
#B20026
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a1271e; /* rgb */ color: rgb(161, 39, 30); /* oklch */ color: oklch(46.9% 0.160 29.0);
Tailwind
colors: {
custom: {
50: '#c66b5b',
500: '#a1271e',
950: '#000000',
},
}SCSS
$custom: #a1271e; $custom-light: #c66b5b; $custom-dark: #000000;
JSON
{
"hex": "#a1271e",
"rgb": {
"r": 161,
"g": 39,
"b": 30
},
"hsl": {
"h": 4.122,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.46904,
"c": 0.15978,
"h": 29
},
"luminance": 0.09122
}Semantic roles & 50–950 ramp
primary
#A1271E
secondary
#57BCC4
accent
#DFEB3C
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150704
muted
#837A79