#7E251A#7E251A
#7E251A is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.125 H 30.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E251A |
|---|---|
| RGB | rgb(126, 37, 26) |
| HSL | hsl(7, 66%, 30%) |
| HSV | hsv(7, 79%, 49%) |
| CMYK | cmyk(0%, 70.6%, 79.4%, 50.6%) |
| CIE-LAB | lab(28.99, 37.73, 28.53) |
| CIE-LCH | lch(28.99, 47.30, 37.09°) |
| OKLab | oklab(40.23% 0.1078 0.0631) |
| OKLCH | oklch(40.23% 0.125 30.3) |
| XYZ | xyz(9.4533, 5.8347, 1.6055) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 4.32
Crimson (survey)
#8C000F
ΔE00 4.66
Red Brown
#8B2E16
ΔE00 4.71
Maroon
#800000
ΔE00 4.88
Reddy Brown
#6E1005
ΔE00 4.90
Dark Red
#840000
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E251A #1A737E
analogous
#7E1A41 #7E251A #7E571A
triadic
#7E251A #1A7E25 #251A7E
tetradic
#7E251A #417E1A #1A737E #571A7E
square
#7E251A #417E1A #1A737E #571A7E
split-complementary
#7E251A #1A7E57 #1A417E
monochromatic
#190705 #4B1610 #7E251A #B13424 #D74D3C
Accessibility & contrast
On white
9.69
#7E251A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E251A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E251A
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E251A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E251A | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#8B0823
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e251a; /* rgb */ color: rgb(126, 37, 26); /* oklch */ color: oklch(40.2% 0.125 30.3);
Tailwind
colors: {
custom: {
50: '#ab6557',
500: '#7e251a',
950: '#000000',
},
}SCSS
$custom: #7e251a; $custom-light: #ab6557; $custom-dark: #000000;
JSON
{
"hex": "#7e251a",
"rgb": {
"r": 126,
"g": 37,
"b": 26
},
"hsl": {
"h": 6.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.4023,
"c": 0.12486,
"h": 30.3
},
"luminance": 0.05833
}Semantic roles & 50–950 ramp
primary
#7E251A
secondary
#42A6B2
accent
#D6E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78