#7E231F#7E231F
#7E231F is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.126 H 27.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7E231F |
|---|---|
| RGB | rgb(126, 35, 31) |
| HSL | hsl(3, 61%, 31%) |
| HSV | hsv(3, 75%, 49%) |
| CMYK | cmyk(0%, 72.2%, 75.4%, 50.6%) |
| CIE-LAB | lab(28.74, 38.81, 25.21) |
| CIE-LCH | lch(28.74, 46.28, 33.01°) |
| OKLab | oklab(40.06% 0.1123 0.0571) |
| OKLCH | oklch(40.06% 0.126 27) |
| XYZ | xyz(9.4536, 5.7380, 1.9058) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.76
Reddy Brown
#6E1005
ΔE00 5.69
Blood
#770001
ΔE00 5.73
Indian Red
#850E04
ΔE00 5.76
Maroon
#800000
ΔE00 5.89
Burgundy
#800020
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E231F #1F7A7E
analogous
#7E1F4A #7E231F #7E521F
triadic
#7E231F #1F7E23 #231F7E
tetradic
#7E231F #4A7E1F #1F7A7E #521F7E
square
#7E231F #4A7E1F #1F7A7E #521F7E
split-complementary
#7E231F #1F7E52 #1F4A7E
monochromatic
#1C0807 #4D1513 #7E231F #AF312B #D14C46
Accessibility & contrast
On white
9.78
#7E231F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E231F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E231F
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E231F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E231F | 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)
#3D371E
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#8B0423
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e231f; /* rgb */ color: rgb(126, 35, 31); /* oklch */ color: oklch(40.1% 0.126 27.0);
Tailwind
colors: {
custom: {
50: '#aa645b',
500: '#7e231f',
950: '#000000',
},
}SCSS
$custom: #7e231f; $custom-light: #aa645b; $custom-dark: #000000;
JSON
{
"hex": "#7e231f",
"rgb": {
"r": 126,
"g": 35,
"b": 31
},
"hsl": {
"h": 2.526,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.40063,
"c": 0.12596,
"h": 27
},
"luminance": 0.05737
}Semantic roles & 50–950 ramp
primary
#7E231F
secondary
#48ADB1
accent
#DDE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79