#7E231A#7E231A
#7E231A is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 29.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E231A |
|---|---|
| RGB | rgb(126, 35, 26) |
| HSL | hsl(5, 66%, 30%) |
| HSV | hsv(5, 79%, 49%) |
| CMYK | cmyk(0%, 72.2%, 79.4%, 50.6%) |
| CIE-LAB | lab(28.68, 38.59, 28.19) |
| CIE-LCH | lch(28.68, 47.79, 36.16°) |
| OKLab | oklab(40% 0.1104 0.0623) |
| OKLCH | oklch(40% 0.127 29.4) |
| XYZ | xyz(9.3927, 5.7137, 1.5854) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.34
Indian Red
#850E04
ΔE00 4.35
Maroon
#800000
ΔE00 4.75
Reddy Brown
#6E1005
ΔE00 4.78
Dark Red
#840000
ΔE00 4.86
Blood
#770001
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E231A #1A757E
analogous
#7E1A43 #7E231A #7E551A
triadic
#7E231A #1A7E23 #231A7E
tetradic
#7E231A #437E1A #1A757E #551A7E
square
#7E231A #437E1A #1A757E #551A7E
split-complementary
#7E231A #1A7E55 #1A437E
monochromatic
#190705 #4B1510 #7E231A #B13124 #D74A3C
Accessibility & contrast
On white
9.80
#7E231A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E231A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E231A
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E231A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E231A | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3718
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#8B0322
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e231a; /* rgb */ color: rgb(126, 35, 26); /* oklch */ color: oklch(40.0% 0.127 29.4);
Tailwind
colors: {
custom: {
50: '#ab6457',
500: '#7e231a',
950: '#000000',
},
}SCSS
$custom: #7e231a; $custom-light: #ab6457; $custom-dark: #000000;
JSON
{
"hex": "#7e231a",
"rgb": {
"r": 126,
"g": 35,
"b": 26
},
"hsl": {
"h": 5.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39995,
"c": 0.12681,
"h": 29.4
},
"luminance": 0.05712
}Semantic roles & 50–950 ramp
primary
#7E231A
secondary
#42A8B2
accent
#D9E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78