#A8291F#A8291F
#A8291F is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.4% C 0.165 H 29.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A8291F |
|---|---|
| RGB | rgb(168, 41, 31) |
| HSL | hsl(4, 69%, 39%) |
| HSV | hsv(4, 82%, 66%) |
| CMYK | cmyk(0%, 75.6%, 81.5%, 34.1%) |
| CIE-LAB | lab(37.86, 50.59, 37.40) |
| CIE-LCH | lch(37.86, 62.91, 36.47°) |
| OKLab | oklab(48.38% 0.1442 0.0804) |
| OKLCH | oklch(48.38% 0.165 29.1) |
| XYZ | xyz(17.1908, 10.0124, 2.3235) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.28
Brick
#A03623
ΔE00 2.73
Brownish Red
#9E3623
ΔE00 2.93
Brown
#A52A2A
ΔE00 3.31
Darkish Red
#A90308
ΔE00 3.86
Scarlet
#BE0119
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8291F #1F9EA8
analogous
#A81F59 #A8291F #A86E1F
triadic
#A8291F #1FA829 #291FA8
tetradic
#A8291F #59A81F #1F9EA8 #6E1FA8
square
#A8291F #59A81F #1F9EA8 #6E1FA8
split-complementary
#A8291F #1FA86E #1F59A8
monochromatic
#41100C #741C15 #A8291F #D8392C #E26960
Accessibility & contrast
On white
7.00
#A8291F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#A8291F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8291F
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8291F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8291F | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50471C
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#B90028
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a8291f; /* rgb */ color: rgb(168, 41, 31); /* oklch */ color: oklch(48.4% 0.165 29.1);
Tailwind
colors: {
custom: {
50: '#cb6d5c',
500: '#a8291f',
950: '#000000',
},
}SCSS
$custom: #a8291f; $custom-light: #cb6d5c; $custom-dark: #000000;
JSON
{
"hex": "#a8291f",
"rgb": {
"r": 168,
"g": 41,
"b": 31
},
"hsl": {
"h": 4.38,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.4838,
"c": 0.16507,
"h": 29.1
},
"luminance": 0.1001
}Semantic roles & 50–950 ramp
primary
#A8291F
secondary
#5DBFC6
accent
#DFEC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79