#7E251E#7E251E
#7E251E is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.124 H 28.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E251E |
|---|---|
| RGB | rgb(126, 37, 30) |
| HSL | hsl(4, 62%, 31%) |
| HSV | hsv(4, 76%, 49%) |
| CMYK | cmyk(0%, 70.6%, 76.2%, 50.6%) |
| CIE-LAB | lab(29.04, 37.91, 26.17) |
| CIE-LCH | lch(29.04, 46.06, 34.62°) |
| OKLab | oklab(40.28% 0.1092 0.059) |
| OKLCH | oklch(40.28% 0.124 28.4) |
| XYZ | xyz(9.5011, 5.8539, 1.8577) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.78
Indian Red
#850E04
ΔE00 5.30
Reddy Brown
#6E1005
ΔE00 5.46
Blood
#770001
ΔE00 5.61
Maroon
#800000
ΔE00 5.62
Dark Red
#840000
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E251E #1E777E
analogous
#7E1E47 #7E251E #7E551E
triadic
#7E251E #1E7E25 #251E7E
tetradic
#7E251E #477E1E #1E777E #551E7E
square
#7E251E #477E1E #1E777E #551E7E
split-complementary
#7E251E #1E7E55 #1E477E
monochromatic
#1B0806 #4D1612 #7E251E #AF342A #D24E44
Accessibility & contrast
On white
9.68
#7E251E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E251E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E251E
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E251E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E251E | 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)
#3E381D
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#8B0924
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e251e; /* rgb */ color: rgb(126, 37, 30); /* oklch */ color: oklch(40.3% 0.124 28.4);
Tailwind
colors: {
custom: {
50: '#aa655a',
500: '#7e251e',
950: '#000000',
},
}SCSS
$custom: #7e251e; $custom-light: #aa655a; $custom-dark: #000000;
JSON
{
"hex": "#7e251e",
"rgb": {
"r": 126,
"g": 37,
"b": 30
},
"hsl": {
"h": 4.375,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.40282,
"c": 0.12411,
"h": 28.4
},
"luminance": 0.05852
}Semantic roles & 50–950 ramp
primary
#7E251E
secondary
#47A9B1
accent
#D9E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79