#7E1225#7E1225
#7E1225 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 18.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1225 |
|---|---|
| RGB | rgb(126, 18, 37) |
| HSL | hsl(349, 75%, 28%) |
| HSV | hsv(349, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 70.6%, 50.6%) |
| CIE-LAB | lab(26.74, 44.96, 18.95) |
| CIE-LCH | lch(26.74, 48.79, 22.85°) |
| OKLab | oklab(38.61% 0.1332 0.0444) |
| OKLCH | oklch(38.61% 0.14 18.4) |
| XYZ | xyz(9.1555, 5.0032, 2.2336) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.57
Wine Red
#7B0323
ΔE00 1.76
Bordeaux
#7B002C
ΔE00 4.77
Claret
#680018
ΔE00 4.88
Red Wine
#8C0034
ΔE00 5.50
Maroon (survey)
#650021
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1225 #127E6B
analogous
#7E125B #7E1225 #7E3512
triadic
#7E1225 #257E12 #12257E
tetradic
#7E1225 #5B7E12 #127E6B #35127E
square
#7E1225 #5B7E12 #127E6B #35127E
split-complementary
#7E1225 #127E35 #125B7E
monochromatic
#1B0408 #480A15 #7E1225 #B41A35 #E12A4A
Accessibility & contrast
On white
10.50
#7E1225 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E1225 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1225
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1225 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1225 | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343125
Deuteranopia (green-blind)
#4F4722
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1225; /* rgb */ color: rgb(126, 18, 37); /* oklch */ color: oklch(38.6% 0.140 18.4);
Tailwind
colors: {
custom: {
50: '#ab5e5f',
500: '#7e1225',
950: '#000000',
},
}SCSS
$custom: #7e1225; $custom-light: #ab5e5f; $custom-dark: #000000;
JSON
{
"hex": "#7e1225",
"rgb": {
"r": 126,
"g": 18,
"b": 37
},
"hsl": {
"h": 349.444,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38608,
"c": 0.14045,
"h": 18.4
},
"luminance": 0.05002
}Semantic roles & 50–950 ramp
primary
#7E1225
secondary
#38B49E
accent
#F2D136
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979