#7E251B#7E251B
#7E251B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.125 H 29.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E251B |
|---|---|
| RGB | rgb(126, 37, 27) |
| HSL | hsl(6, 65%, 30%) |
| HSV | hsv(6, 79%, 49%) |
| CMYK | cmyk(0%, 70.6%, 78.6%, 50.6%) |
| CIE-LAB | lab(29.00, 37.77, 27.95) |
| CIE-LCH | lch(29.00, 46.99, 36.50°) |
| OKLab | oklab(40.24% 0.1081 0.0621) |
| OKLCH | oklch(40.24% 0.125 29.9) |
| XYZ | xyz(9.4646, 5.8393, 1.6654) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 4.54
Crimson (survey)
#8C000F
ΔE00 4.65
Red Brown
#8B2E16
ΔE00 4.97
Reddy Brown
#6E1005
ΔE00 5.00
Maroon
#800000
ΔE00 5.03
Dark Red
#840000
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E251B #1B747E
analogous
#7E1B42 #7E251B #7E571B
triadic
#7E251B #1B7E25 #251B7E
tetradic
#7E251B #427E1B #1B747E #571B7E
square
#7E251B #427E1B #1B747E #571B7E
split-complementary
#7E251B #1B7E57 #1B427E
monochromatic
#190705 #4C1610 #7E251B #B03426 #D64D3E
Accessibility & contrast
On white
9.69
#7E251B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E251B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E251B
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E251B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E251B | 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)
#3F3819
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#8B0823
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e251b; /* rgb */ color: rgb(126, 37, 27); /* oklch */ color: oklch(40.2% 0.125 29.9);
Tailwind
colors: {
custom: {
50: '#ab6558',
500: '#7e251b',
950: '#000000',
},
}SCSS
$custom: #7e251b; $custom-light: #ab6558; $custom-dark: #000000;
JSON
{
"hex": "#7e251b",
"rgb": {
"r": 126,
"g": 37,
"b": 27
},
"hsl": {
"h": 6.061,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.40242,
"c": 0.12467,
"h": 29.9
},
"luminance": 0.05838
}Semantic roles & 50–950 ramp
primary
#7E251B
secondary
#43A7B2
accent
#D7E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78