#7E251D#7E251D
#7E251D is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.124 H 28.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E251D |
|---|---|
| RGB | rgb(126, 37, 29) |
| HSL | hsl(5, 63%, 30%) |
| HSV | hsv(5, 77%, 49%) |
| CMYK | cmyk(0%, 70.6%, 77%, 50.6%) |
| CIE-LAB | lab(29.03, 37.86, 26.77) |
| CIE-LCH | lch(29.03, 46.37, 35.26°) |
| OKLab | oklab(40.27% 0.1088 0.06) |
| OKLCH | oklch(40.27% 0.124 28.9) |
| XYZ | xyz(9.4886, 5.8489, 1.7915) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.71
Indian Red
#850E04
ΔE00 5.03
Reddy Brown
#6E1005
ΔE00 5.29
Maroon
#800000
ΔE00 5.40
Blood
#770001
ΔE00 5.45
Dark Red
#840000
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E251D #1D767E
analogous
#7E1D46 #7E251D #7E551D
triadic
#7E251D #1D7E25 #251D7E
tetradic
#7E251D #467E1D #1D767E #551D7E
square
#7E251D #467E1D #1D767E #551D7E
split-complementary
#7E251D #1D7E55 #1D467E
monochromatic
#1B0806 #4C1612 #7E251D #B03428 #D34E42
Accessibility & contrast
On white
9.68
#7E251D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E251D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E251D
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E251D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E251D | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381B
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#8B0924
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e251d; /* rgb */ color: rgb(126, 37, 29); /* oklch */ color: oklch(40.3% 0.124 28.9);
Tailwind
colors: {
custom: {
50: '#aa6559',
500: '#7e251d',
950: '#000000',
},
}SCSS
$custom: #7e251d; $custom-light: #aa6559; $custom-dark: #000000;
JSON
{
"hex": "#7e251d",
"rgb": {
"r": 126,
"g": 37,
"b": 29
},
"hsl": {
"h": 4.948,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.40268,
"c": 0.12428,
"h": 28.9
},
"luminance": 0.05847
}Semantic roles & 50–950 ramp
primary
#7E251D
secondary
#45A9B1
accent
#D8E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78