#8A2717#8A2717
#8A2717 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.6% C 0.137 H 31.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2717 |
|---|---|
| RGB | rgb(138, 39, 23) |
| HSL | hsl(8, 71%, 32%) |
| HSV | hsv(8, 83%, 54%) |
| CMYK | cmyk(0%, 71.7%, 83.3%, 45.9%) |
| CIE-LAB | lab(31.62, 41.06, 33.66) |
| CIE-LCH | lch(31.62, 53.09, 39.34°) |
| OKLab | oklab(42.62% 0.1161 0.0722) |
| OKLCH | oklch(42.62% 0.137 31.9) |
| XYZ | xyz(11.3627, 6.9179, 1.5474) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.30
Brick Red
#8F1402
ΔE00 3.53
Indian Red
#850E04
ΔE00 3.78
Darkred
#8B0000
ΔE00 4.37
Blood Red
#980002
ΔE00 4.53
Crimson (survey)
#8C000F
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2717 #177A8A
analogous
#8A1741 #8A2717 #8A6117
triadic
#8A2717 #178A27 #27178A
tetradic
#8A2717 #418A17 #177A8A #61178A
square
#8A2717 #418A17 #177A8A #61178A
split-complementary
#8A2717 #178A61 #17418A
monochromatic
#210906 #56180E #8A2717 #BE3620 #DF533D
Accessibility & contrast
On white
8.81
#8A2717 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8A2717 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2717
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2717 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#5D5212
Tritanopia (blue-blind)
#980124
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a2717; /* rgb */ color: rgb(138, 39, 23); /* oklch */ color: oklch(42.6% 0.137 31.9);
Tailwind
colors: {
custom: {
50: '#b46856',
500: '#8a2717',
950: '#000000',
},
}SCSS
$custom: #8a2717; $custom-light: #b46856; $custom-dark: #000000;
JSON
{
"hex": "#8a2717",
"rgb": {
"r": 138,
"g": 39,
"b": 23
},
"hsl": {
"h": 8.348,
"s": 71.429,
"l": 31.569
},
"oklch": {
"l": 0.42621,
"c": 0.13676,
"h": 31.9
},
"luminance": 0.06916
}Semantic roles & 50–950 ramp
primary
#8A2717
secondary
#3FACBE
accent
#D5EE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78