#7E2218#7E2218
#7E2218 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 29.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2218 |
|---|---|
| RGB | rgb(126, 34, 24) |
| HSL | hsl(6, 68%, 29%) |
| HSV | hsv(6, 81%, 49%) |
| CMYK | cmyk(0%, 73%, 81%, 50.6%) |
| CIE-LAB | lab(28.50, 38.92, 29.19) |
| CIE-LCH | lch(28.50, 48.65, 36.87°) |
| OKLab | oklab(39.86% 0.1111 0.0639) |
| OKLCH | oklch(39.86% 0.128 29.9) |
| XYZ | xyz(9.3422, 5.6470, 1.4621) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.91
Crimson (survey)
#8C000F
ΔE00 4.20
Maroon
#800000
ΔE00 4.36
Dark Red
#840000
ΔE00 4.46
Reddy Brown
#6E1005
ΔE00 4.50
Blood
#770001
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2218 #18747E
analogous
#7E1841 #7E2218 #7E5518
triadic
#7E2218 #187E22 #22187E
tetradic
#7E2218 #417E18 #18747E #55187E
square
#7E2218 #417E18 #18747E #55187E
split-complementary
#7E2218 #187E55 #18417E
monochromatic
#1A0705 #4B140E #7E2218 #B13022 #D94737
Accessibility & contrast
On white
9.86
#7E2218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E2218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2218
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2218 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3616
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2218; /* rgb */ color: rgb(126, 34, 24); /* oklch */ color: oklch(39.9% 0.128 29.9);
Tailwind
colors: {
custom: {
50: '#ab6456',
500: '#7e2218',
950: '#000000',
},
}SCSS
$custom: #7e2218; $custom-light: #ab6456; $custom-dark: #000000;
JSON
{
"hex": "#7e2218",
"rgb": {
"r": 126,
"g": 34,
"b": 24
},
"hsl": {
"h": 5.882,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39857,
"c": 0.12812,
"h": 29.9
},
"luminance": 0.05646
}Semantic roles & 50–950 ramp
primary
#7E2218
secondary
#3FA7B2
accent
#DAEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78