#821E17#821E17
#821E17 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.136 H 28.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #821E17 |
|---|---|
| RGB | rgb(130, 30, 23) |
| HSL | hsl(4, 70%, 30%) |
| HSV | hsv(4, 82%, 51%) |
| CMYK | cmyk(0%, 76.9%, 82.3%, 49%) |
| CIE-LAB | lab(28.74, 41.82, 30.28) |
| CIE-LCH | lch(28.74, 51.63, 35.91°) |
| OKLab | oklab(40.18% 0.1194 0.0656) |
| OKLCH | oklch(40.18% 0.136 28.8) |
| XYZ | xyz(9.8260, 5.7378, 1.4006) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.17
Indian Red
#850E04
ΔE00 3.51
Maroon
#800000
ΔE00 3.93
Dark Red
#840000
ΔE00 3.95
Darkred
#8B0000
ΔE00 4.32
Blood
#770001
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821E17 #177B82
analogous
#821746 #821E17 #825317
triadic
#821E17 #17821E #1E1782
tetradic
#821E17 #468217 #177B82 #531782
square
#821E17 #468217 #177B82 #531782
split-complementary
#821E17 #178253 #174682
monochromatic
#1A0605 #4E120E #821E17 #B62A20 #DC4238
Accessibility & contrast
On white
9.78
#821E17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#821E17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821E17
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821E17 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3615
Deuteranopia (green-blind)
#554C12
Tritanopia (blue-blind)
#90001E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #821e17; /* rgb */ color: rgb(130, 30, 23); /* oklch */ color: oklch(40.2% 0.136 28.8);
Tailwind
colors: {
custom: {
50: '#ae6255',
500: '#821e17',
950: '#000000',
},
}SCSS
$custom: #821e17; $custom-light: #ae6255; $custom-dark: #000000;
JSON
{
"hex": "#821e17",
"rgb": {
"r": 130,
"g": 30,
"b": 23
},
"hsl": {
"h": 3.925,
"s": 69.935,
"l": 30
},
"oklch": {
"l": 0.40178,
"c": 0.13625,
"h": 28.8
},
"luminance": 0.05736
}Semantic roles & 50–950 ramp
primary
#821E17
secondary
#3EAEB6
accent
#E1ED3B
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78