#7E1227#7E1227
#7E1227 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 17.3°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1227 |
|---|---|
| RGB | rgb(126, 18, 39) |
| HSL | hsl(348, 75%, 28%) |
| HSV | hsv(348, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 69%, 50.6%) |
| CIE-LAB | lab(26.78, 45.07, 17.66) |
| CIE-LCH | lch(26.78, 48.40, 21.39°) |
| OKLab | oklab(38.65% 0.1341 0.0418) |
| OKLCH | oklch(38.65% 0.14 17.3) |
| XYZ | xyz(9.1877, 5.0162, 2.4035) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.52
Burgundy
#800020
ΔE00 1.99
Bordeaux
#7B002C
ΔE00 4.07
Red Wine
#8C0034
ΔE00 4.85
Claret
#680018
ΔE00 5.00
Maroon (survey)
#650021
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1227 #127E69
analogous
#7E125D #7E1227 #7E3312
triadic
#7E1227 #277E12 #12277E
tetradic
#7E1227 #5D7E12 #127E69 #33127E
square
#7E1227 #5D7E12 #127E69 #33127E
split-complementary
#7E1227 #127E33 #125D7E
monochromatic
#1B0408 #480A16 #7E1227 #B41A38 #E12A4D
Accessibility & contrast
On white
10.48
#7E1227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E1227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1227
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1227 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#4F4724
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1227; /* rgb */ color: rgb(126, 18, 39); /* oklch */ color: oklch(38.6% 0.140 17.3);
Tailwind
colors: {
custom: {
50: '#ab5e60',
500: '#7e1227',
950: '#000000',
},
}SCSS
$custom: #7e1227; $custom-light: #ab5e60; $custom-dark: #000000;
JSON
{
"hex": "#7e1227",
"rgb": {
"r": 126,
"g": 18,
"b": 39
},
"hsl": {
"h": 348.333,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38647,
"c": 0.14043,
"h": 17.3
},
"luminance": 0.05015
}Semantic roles & 50–950 ramp
primary
#7E1227
secondary
#38B49C
accent
#F2CD36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979