#7E1923#7E1923
#7E1923 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.135 H 21.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1923 |
|---|---|
| RGB | rgb(126, 25, 35) |
| HSL | hsl(354, 67%, 30%) |
| HSV | hsv(354, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 72.2%, 50.6%) |
| CIE-LAB | lab(27.45, 42.77, 21.13) |
| CIE-LCH | lch(27.45, 47.71, 26.29°) |
| OKLab | oklab(39.12% 0.1258 0.049) |
| OKLCH | oklch(39.12% 0.135 21.3) |
| XYZ | xyz(9.2562, 5.2537, 2.1165) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.55
Wine Red
#7B0323
ΔE00 3.48
Claret
#680018
ΔE00 5.49
Crimson (survey)
#8C000F
ΔE00 6.31
Rosewood
#65000B
ΔE00 6.50
Bordeaux
#7B002C
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1923 #197E74
analogous
#7E1956 #7E1923 #7E4119
triadic
#7E1923 #237E19 #19237E
tetradic
#7E1923 #567E19 #197E74 #41197E
square
#7E1923 #567E19 #197E74 #41197E
split-complementary
#7E1923 #197E41 #19567E
monochromatic
#1A0507 #4B0F15 #7E1923 #B12331 #D83A49
Accessibility & contrast
On white
10.24
#7E1923 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1923 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1923
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1923 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1923 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373323
Deuteranopia (green-blind)
#504920
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1923; /* rgb */ color: rgb(126, 25, 35); /* oklch */ color: oklch(39.1% 0.135 21.3);
Tailwind
colors: {
custom: {
50: '#ab605d',
500: '#7e1923',
950: '#000000',
},
}SCSS
$custom: #7e1923; $custom-light: #ab605d; $custom-dark: #000000;
JSON
{
"hex": "#7e1923",
"rgb": {
"r": 126,
"g": 25,
"b": 35
},
"hsl": {
"h": 354.059,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.39116,
"c": 0.13495,
"h": 21.3
},
"luminance": 0.05252
}Semantic roles & 50–950 ramp
primary
#7E1923
secondary
#41B2A7
accent
#EAD93E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979