#7E231B#7E231B
#7E231B is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 29.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E231B |
|---|---|
| RGB | rgb(126, 35, 27) |
| HSL | hsl(5, 65%, 30%) |
| HSV | hsv(5, 79%, 49%) |
| CMYK | cmyk(0%, 72.2%, 78.6%, 50.6%) |
| CIE-LAB | lab(28.69, 38.63, 27.61) |
| CIE-LCH | lch(28.69, 47.48, 35.55°) |
| OKLab | oklab(40.01% 0.1108 0.0613) |
| OKLCH | oklch(40.01% 0.127 29) |
| XYZ | xyz(9.4041, 5.7182, 1.6452) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.36
Indian Red
#850E04
ΔE00 4.61
Reddy Brown
#6E1005
ΔE00 4.92
Maroon
#800000
ΔE00 4.94
Blood
#770001
ΔE00 5.00
Dark Red
#840000
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E231B #1B767E
analogous
#7E1B45 #7E231B #7E541B
triadic
#7E231B #1B7E23 #231B7E
tetradic
#7E231B #457E1B #1B767E #541B7E
square
#7E231B #457E1B #1B767E #541B7E
split-complementary
#7E231B #1B7E54 #1B457E
monochromatic
#190705 #4C1510 #7E231B #B03126 #D64A3E
Accessibility & contrast
On white
9.80
#7E231B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E231B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E231B
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E231B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E231B | 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)
#3D3719
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#8B0322
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e231b; /* rgb */ color: rgb(126, 35, 27); /* oklch */ color: oklch(40.0% 0.127 29.0);
Tailwind
colors: {
custom: {
50: '#ab6458',
500: '#7e231b',
950: '#000000',
},
}SCSS
$custom: #7e231b; $custom-light: #ab6458; $custom-dark: #000000;
JSON
{
"hex": "#7e231b",
"rgb": {
"r": 126,
"g": 35,
"b": 27
},
"hsl": {
"h": 4.848,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.40008,
"c": 0.12663,
"h": 29
},
"luminance": 0.05717
}Semantic roles & 50–950 ramp
primary
#7E231B
secondary
#43A9B2
accent
#DAE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78