#7E1223#7E1223
#7E1223 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.141 H 19.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1223 |
|---|---|
| RGB | rgb(126, 18, 35) |
| HSL | hsl(351, 75%, 28%) |
| HSV | hsv(351, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 72.2%, 50.6%) |
| CIE-LAB | lab(26.71, 44.86, 20.23) |
| CIE-LCH | lch(26.71, 49.21, 24.28°) |
| OKLab | oklab(38.57% 0.1324 0.047) |
| OKLCH | oklch(38.57% 0.141 19.5) |
| XYZ | xyz(9.1249, 4.9910, 2.0727) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.46
Wine Red
#7B0323
ΔE00 2.25
Claret
#680018
ΔE00 4.87
Bordeaux
#7B002C
ΔE00 5.48
Red Wine
#8C0034
ΔE00 6.17
Rosewood
#65000B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1223 #127E6D
analogous
#7E1259 #7E1223 #7E3712
triadic
#7E1223 #237E12 #12237E
tetradic
#7E1223 #597E12 #127E6D #37127E
square
#7E1223 #597E12 #127E6D #37127E
split-complementary
#7E1223 #127E37 #12597E
monochromatic
#1B0407 #480A14 #7E1223 #B41A32 #E12A47
Accessibility & contrast
On white
10.51
#7E1223 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E1223 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1223
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1223 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1223 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343123
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1223; /* rgb */ color: rgb(126, 18, 35); /* oklch */ color: oklch(38.6% 0.141 19.5);
Tailwind
colors: {
custom: {
50: '#ab5d5d',
500: '#7e1223',
950: '#000000',
},
}SCSS
$custom: #7e1223; $custom-light: #ab5d5d; $custom-dark: #000000;
JSON
{
"hex": "#7e1223",
"rgb": {
"r": 126,
"g": 18,
"b": 35
},
"hsl": {
"h": 350.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38571,
"c": 0.1405,
"h": 19.5
},
"luminance": 0.0499
}Semantic roles & 50–950 ramp
primary
#7E1223
secondary
#38B4A0
accent
#F2D436
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979