#7E2728#7E2728
#7E2728 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.120 H 23.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2728 |
|---|---|
| RGB | rgb(126, 39, 40) |
| HSL | hsl(359, 53%, 32%) |
| HSV | hsv(359, 69%, 49%) |
| CMYK | cmyk(0%, 69%, 68.3%, 50.6%) |
| CIE-LAB | lab(29.52, 37.58, 20.43) |
| CIE-LCH | lch(29.52, 42.77, 28.53°) |
| OKLab | oklab(40.69% 0.1104 0.0482) |
| OKLCH | oklch(40.69% 0.12 23.6) |
| XYZ | xyz(9.7137, 6.0412, 2.6617) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.04
Wine Red
#7B0323
ΔE00 5.73
Wine
#722F37
ΔE00 6.13
Crimson (survey)
#8C000F
ΔE00 6.73
Claret
#680018
ΔE00 7.35
Carmine
#9D0216
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2728 #277E7D
analogous
#7E2754 #7E2728 #7E5127
triadic
#7E2728 #287E27 #27287E
tetradic
#7E2728 #547E27 #277E7D #51277E
square
#7E2728 #547E27 #277E7D #51277E
split-complementary
#7E2728 #277E51 #27547E
monochromatic
#210A0A #4F1919 #7E2728 #AD3537 #CA5556
Accessibility & contrast
On white
9.51
#7E2728 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E2728 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2728
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2728 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3A27
Deuteranopia (green-blind)
#544C26
Tritanopia (blue-blind)
#8B1128
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2728; /* rgb */ color: rgb(126, 39, 40); /* oklch */ color: oklch(40.7% 0.120 23.6);
Tailwind
colors: {
custom: {
50: '#a96762',
500: '#7e2728',
950: '#000000',
},
}SCSS
$custom: #7e2728; $custom-light: #a96762; $custom-dark: #000000;
JSON
{
"hex": "#7e2728",
"rgb": {
"r": 126,
"g": 39,
"b": 40
},
"hsl": {
"h": 359.31,
"s": 52.727,
"l": 32.353
},
"oklch": {
"l": 0.40687,
"c": 0.12043,
"h": 23.6
},
"luminance": 0.0604
}Semantic roles & 50–950 ramp
primary
#7E2728
secondary
#52AFAE
accent
#DCDA4C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79