#7E231E#7E231E
#7E231E is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.126 H 27.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7E231E |
|---|---|
| RGB | rgb(126, 35, 30) |
| HSL | hsl(3, 62%, 31%) |
| HSV | hsv(3, 76%, 49%) |
| CMYK | cmyk(0%, 72.2%, 76.2%, 50.6%) |
| CIE-LAB | lab(28.73, 38.76, 25.82) |
| CIE-LCH | lch(28.73, 46.57, 33.66°) |
| OKLab | oklab(40.05% 0.1119 0.0582) |
| OKLCH | oklch(40.05% 0.126 27.5) |
| XYZ | xyz(9.4406, 5.7328, 1.8375) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.61
Indian Red
#850E04
ΔE00 5.45
Reddy Brown
#6E1005
ΔE00 5.47
Blood
#770001
ΔE00 5.52
Maroon
#800000
ΔE00 5.63
Dark Red
#840000
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E231E #1E797E
analogous
#7E1E49 #7E231E #7E531E
triadic
#7E231E #1E7E23 #231E7E
tetradic
#7E231E #497E1E #1E797E #531E7E
square
#7E231E #497E1E #1E797E #531E7E
split-complementary
#7E231E #1E7E53 #1E497E
monochromatic
#1B0806 #4D1512 #7E231E #AF312A #D24B44
Accessibility & contrast
On white
9.78
#7E231E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E231E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E231E
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E231E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E231E | 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)
#3D371D
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#8B0423
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e231e; /* rgb */ color: rgb(126, 35, 30); /* oklch */ color: oklch(40.0% 0.126 27.5);
Tailwind
colors: {
custom: {
50: '#aa645a',
500: '#7e231e',
950: '#000000',
},
}SCSS
$custom: #7e231e; $custom-light: #aa645a; $custom-dark: #000000;
JSON
{
"hex": "#7e231e",
"rgb": {
"r": 126,
"g": 35,
"b": 30
},
"hsl": {
"h": 3.125,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.40048,
"c": 0.12613,
"h": 27.5
},
"luminance": 0.05731
}Semantic roles & 50–950 ramp
primary
#7E231E
secondary
#47ACB1
accent
#DCE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78