#7E1228#7E1228
#7E1228 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.140 H 16.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1228 |
|---|---|
| RGB | rgb(126, 18, 40) |
| HSL | hsl(348, 75%, 28%) |
| HSV | hsv(348, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 68.3%, 50.6%) |
| CIE-LAB | lab(26.80, 45.13, 17.01) |
| CIE-LCH | lch(26.80, 48.23, 20.65°) |
| OKLab | oklab(38.67% 0.1345 0.0405) |
| OKLCH | oklch(38.67% 0.14 16.8) |
| XYZ | xyz(9.2045, 5.0229, 2.4919) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.53
Burgundy
#800020
ΔE00 2.27
Bordeaux
#7B002C
ΔE00 3.73
Red Wine
#8C0034
ΔE00 4.54
Claret
#680018
ΔE00 5.11
Maroon (survey)
#650021
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1228 #127E68
analogous
#7E125E #7E1228 #7E3212
triadic
#7E1228 #287E12 #12287E
tetradic
#7E1228 #5E7E12 #127E68 #32127E
square
#7E1228 #5E7E12 #127E68 #32127E
split-complementary
#7E1228 #127E32 #125E7E
monochromatic
#1B0408 #480A17 #7E1228 #B41A39 #E12A4F
Accessibility & contrast
On white
10.48
#7E1228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E1228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1228
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1228 | 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)
#343128
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1228; /* rgb */ color: rgb(126, 18, 40); /* oklch */ color: oklch(38.7% 0.140 16.8);
Tailwind
colors: {
custom: {
50: '#aa5e61',
500: '#7e1228',
950: '#000000',
},
}SCSS
$custom: #7e1228; $custom-light: #aa5e61; $custom-dark: #000000;
JSON
{
"hex": "#7e1228",
"rgb": {
"r": 126,
"g": 18,
"b": 40
},
"hsl": {
"h": 347.778,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38667,
"c": 0.14044,
"h": 16.8
},
"luminance": 0.05021
}Semantic roles & 50–950 ramp
primary
#7E1228
secondary
#38B49B
accent
#F2CB36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979