#7E231D#7E231D
#7E231D is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.126 H 28.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7E231D |
|---|---|
| RGB | rgb(126, 35, 29) |
| HSL | hsl(4, 63%, 30%) |
| HSV | hsv(4, 77%, 49%) |
| CMYK | cmyk(0%, 72.2%, 77%, 50.6%) |
| CIE-LAB | lab(28.72, 38.72, 26.42) |
| CIE-LCH | lch(28.72, 46.87, 34.31°) |
| OKLab | oklab(40.03% 0.1115 0.0593) |
| OKLCH | oklch(40.03% 0.126 28) |
| XYZ | xyz(9.4280, 5.7278, 1.7713) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.50
Indian Red
#850E04
ΔE00 5.16
Reddy Brown
#6E1005
ΔE00 5.27
Blood
#770001
ΔE00 5.32
Maroon
#800000
ΔE00 5.38
Dark Red
#840000
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E231D #1D787E
analogous
#7E1D48 #7E231D #7E531D
triadic
#7E231D #1D7E23 #231D7E
tetradic
#7E231D #487E1D #1D787E #531D7E
square
#7E231D #487E1D #1D787E #531D7E
split-complementary
#7E231D #1D7E53 #1D487E
monochromatic
#1B0706 #4C1512 #7E231D #B03128 #D34B42
Accessibility & contrast
On white
9.79
#7E231D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E231D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E231D
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E231D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E231D | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#8B0422
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e231d; /* rgb */ color: rgb(126, 35, 29); /* oklch */ color: oklch(40.0% 0.126 28.0);
Tailwind
colors: {
custom: {
50: '#ab6459',
500: '#7e231d',
950: '#000000',
},
}SCSS
$custom: #7e231d; $custom-light: #ab6459; $custom-dark: #000000;
JSON
{
"hex": "#7e231d",
"rgb": {
"r": 126,
"g": 35,
"b": 29
},
"hsl": {
"h": 3.711,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.40034,
"c": 0.12629,
"h": 28
},
"luminance": 0.05726
}Semantic roles & 50–950 ramp
primary
#7E231D
secondary
#45ABB1
accent
#DCE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78