#A1271A#A1271A
#A1271A is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.9% C 0.160 H 30.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A1271A |
|---|---|
| RGB | rgb(161, 39, 26) |
| HSL | hsl(6, 72%, 37%) |
| HSV | hsv(6, 84%, 63%) |
| CMYK | cmyk(0%, 75.8%, 83.9%, 36.9%) |
| CIE-LAB | lab(36.19, 48.89, 37.99) |
| CIE-LCH | lch(36.19, 61.91, 37.85°) |
| OKLab | oklab(46.87% 0.1387 0.0806) |
| OKLCH | oklch(46.87% 0.16 30.2) |
| XYZ | xyz(15.6118, 9.1052, 1.9125) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.66
Brownish Red
#9E3623
ΔE00 2.67
Darkish Red
#A90308
ΔE00 3.24
Firebrick
#B22222
ΔE00 3.84
Burnt Red
#9F2305
ΔE00 3.92
Brown
#A52A2A
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1271A #1A94A1
analogous
#A11A51 #A1271A #A16B1A
triadic
#A1271A #1AA127 #271AA1
tetradic
#A1271A #51A11A #1A94A1 #6B1AA1
square
#A1271A #51A11A #1A94A1 #6B1AA1
split-complementary
#A1271A #1AA16B #1A51A1
monochromatic
#380D09 #6C1A11 #A1271A #D63423 #E36052
Accessibility & contrast
On white
7.45
#A1271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#A1271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1271A
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1271A | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4417
Deuteranopia (green-blind)
#6B5F13
Tritanopia (blue-blind)
#B20025
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a1271a; /* rgb */ color: rgb(161, 39, 26); /* oklch */ color: oklch(46.9% 0.160 30.2);
Tailwind
colors: {
custom: {
50: '#c66b58',
500: '#a1271a',
950: '#000000',
},
}SCSS
$custom: #a1271a; $custom-light: #c66b58; $custom-dark: #000000;
JSON
{
"hex": "#a1271a",
"rgb": {
"r": 161,
"g": 39,
"b": 26
},
"hsl": {
"h": 5.778,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.46865,
"c": 0.16035,
"h": 30.2
},
"luminance": 0.09103
}Semantic roles & 50–950 ramp
primary
#A1271A
secondary
#51BBC6
accent
#DDEF39
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78