#A7291C#A7291C
#A7291C is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.2% C 0.164 H 30.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A7291C |
|---|---|
| RGB | rgb(167, 41, 28) |
| HSL | hsl(6, 71%, 38%) |
| HSV | hsv(6, 83%, 65%) |
| CMYK | cmyk(0%, 75.4%, 83.2%, 34.5%) |
| CIE-LAB | lab(37.64, 50.18, 38.72) |
| CIE-LCH | lch(37.64, 63.38, 37.66°) |
| OKLab | oklab(48.17% 0.1424 0.0823) |
| OKLCH | oklch(48.17% 0.164 30) |
| XYZ | xyz(16.9409, 9.8879, 2.1149) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.46
Brownish Red
#9E3623
ΔE00 2.66
Firebrick
#B22222
ΔE00 2.94
Darkish Red
#A90308
ΔE00 3.49
Brown
#A52A2A
ΔE00 4.05
Burnt Red
#9F2305
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7291C #1C9AA7
analogous
#A71C54 #A7291C #A76F1C
triadic
#A7291C #1CA729 #291CA7
tetradic
#A7291C #54A71C #1C9AA7 #6F1CA7
square
#A7291C #54A71C #1C9AA7 #6F1CA7
split-complementary
#A7291C #1CA76F #1C54A7
monochromatic
#3E0F0A #731C13 #A7291C #DB3726 #E3675A
Accessibility & contrast
On white
7.05
#A7291C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#A7291C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7291C
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7291C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7291C | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504719
Deuteranopia (green-blind)
#6F6315
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a7291c; /* rgb */ color: rgb(167, 41, 28); /* oklch */ color: oklch(48.2% 0.164 30.0);
Tailwind
colors: {
custom: {
50: '#ca6d5a',
500: '#a7291c',
950: '#000000',
},
}SCSS
$custom: #a7291c; $custom-light: #ca6d5a; $custom-dark: #000000;
JSON
{
"hex": "#a7291c",
"rgb": {
"r": 167,
"g": 41,
"b": 28
},
"hsl": {
"h": 5.612,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.48169,
"c": 0.16449,
"h": 30
},
"luminance": 0.09885
}Semantic roles & 50–950 ramp
primary
#A7291C
secondary
#58BDC7
accent
#DDEE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79