#7E2217#7E2217
#7E2217 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.128 H 30.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2217 |
|---|---|
| RGB | rgb(126, 34, 23) |
| HSL | hsl(6, 69%, 29%) |
| HSV | hsv(6, 82%, 49%) |
| CMYK | cmyk(0%, 73%, 81.7%, 50.6%) |
| CIE-LAB | lab(28.49, 38.88, 29.77) |
| CIE-LCH | lch(28.49, 48.97, 37.43°) |
| OKLab | oklab(39.85% 0.1107 0.0648) |
| OKLCH | oklch(39.85% 0.128 30.3) |
| XYZ | xyz(9.3320, 5.6430, 1.4083) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.70
Maroon
#800000
ΔE00 4.21
Crimson (survey)
#8C000F
ΔE00 4.25
Dark Red
#840000
ΔE00 4.30
Reddy Brown
#6E1005
ΔE00 4.41
Blood
#770001
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2217 #17737E
analogous
#7E1740 #7E2217 #7E5617
triadic
#7E2217 #177E22 #22177E
tetradic
#7E2217 #407E17 #17737E #56177E
square
#7E2217 #407E17 #17737E #56177E
split-complementary
#7E2217 #177E56 #17407E
monochromatic
#1A0705 #4A140E #7E2217 #B23020 #DA4735
Accessibility & contrast
On white
9.87
#7E2217 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E2217 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2217
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2217 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2217 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3615
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2217; /* rgb */ color: rgb(126, 34, 23); /* oklch */ color: oklch(39.8% 0.128 30.3);
Tailwind
colors: {
custom: {
50: '#ab6455',
500: '#7e2217',
950: '#000000',
},
}SCSS
$custom: #7e2217; $custom-light: #ab6455; $custom-dark: #000000;
JSON
{
"hex": "#7e2217",
"rgb": {
"r": 126,
"g": 34,
"b": 23
},
"hsl": {
"h": 6.408,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39846,
"c": 0.1283,
"h": 30.3
},
"luminance": 0.05642
}Semantic roles & 50–950 ramp
primary
#7E2217
secondary
#3EA6B3
accent
#D9EC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78