#A7291F#A7291F
#A7291F is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.2% C 0.164 H 29.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A7291F |
|---|---|
| RGB | rgb(167, 41, 31) |
| HSL | hsl(4, 69%, 39%) |
| HSV | hsv(4, 81%, 65%) |
| CMYK | cmyk(0%, 75.4%, 81.4%, 34.5%) |
| CIE-LAB | lab(37.67, 50.27, 37.14) |
| CIE-LCH | lch(37.67, 62.50, 36.46°) |
| OKLab | oklab(48.2% 0.1433 0.0799) |
| OKLCH | oklch(48.2% 0.164 29.2) |
| XYZ | xyz(16.9787, 9.9030, 2.3135) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.41
Brick
#A03623
ΔE00 2.68
Brownish Red
#9E3623
ΔE00 2.85
Brown
#A52A2A
ΔE00 3.24
Darkish Red
#A90308
ΔE00 3.84
Scarlet
#BE0119
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7291F #1F9DA7
analogous
#A71F59 #A7291F #A76D1F
triadic
#A7291F #1FA729 #291FA7
tetradic
#A7291F #59A71F #1F9DA7 #6D1FA7
square
#A7291F #59A71F #1F9DA7 #6D1FA7
split-complementary
#A7291F #1FA76D #1F59A7
monochromatic
#40100C #731C15 #A7291F #D8382B #E1695F
Accessibility & contrast
On white
7.05
#A7291F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#A7291F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7291F
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7291F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7291F | 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)
#50471C
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#B80028
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a7291f; /* rgb */ color: rgb(167, 41, 31); /* oklch */ color: oklch(48.2% 0.164 29.2);
Tailwind
colors: {
custom: {
50: '#ca6d5c',
500: '#a7291f',
950: '#000000',
},
}SCSS
$custom: #a7291f; $custom-light: #ca6d5c; $custom-dark: #000000;
JSON
{
"hex": "#a7291f",
"rgb": {
"r": 167,
"g": 41,
"b": 31
},
"hsl": {
"h": 4.412,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.48198,
"c": 0.16407,
"h": 29.2
},
"luminance": 0.099
}Semantic roles & 50–950 ramp
primary
#A7291F
secondary
#5CBEC6
accent
#DFEC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79