#7E262B#7E262B
#7E262B is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.121 H 21.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7E262B |
|---|---|
| RGB | rgb(126, 38, 43) |
| HSL | hsl(357, 54%, 32%) |
| HSV | hsv(357, 70%, 49%) |
| CMYK | cmyk(0%, 69.8%, 65.9%, 50.6%) |
| CIE-LAB | lab(29.41, 38.22, 18.35) |
| CIE-LCH | lch(29.41, 42.39, 25.65°) |
| OKLab | oklab(40.62% 0.113 0.0439) |
| OKLCH | oklch(40.62% 0.121 21.2) |
| XYZ | xyz(9.7343, 5.9976, 2.9301) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.51
Wine Red
#7B0323
ΔE00 4.87
Wine
#722F37
ΔE00 5.16
Claret
#680018
ΔE00 6.96
Bordeaux
#7B002C
ΔE00 7.07
Red Wine
#8C0034
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E262B #267E79
analogous
#7E2657 #7E262B #7E4D26
triadic
#7E262B #2B7E26 #262B7E
tetradic
#7E262B #577E26 #267E79 #4D267E
square
#7E262B #577E26 #267E79 #4D267E
split-complementary
#7E262B #267E4D #26577E
monochromatic
#200A0B #4F181B #7E262B #AD343B #CB535A
Accessibility & contrast
On white
9.55
#7E262B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E262B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E262B
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E262B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E262B | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D392B
Deuteranopia (green-blind)
#544C29
Tritanopia (blue-blind)
#8A1029
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e262b; /* rgb */ color: rgb(126, 38, 43); /* oklch */ color: oklch(40.6% 0.121 21.2);
Tailwind
colors: {
custom: {
50: '#a96664',
500: '#7e262b',
950: '#000000',
},
}SCSS
$custom: #7e262b; $custom-light: #a96664; $custom-dark: #000000;
JSON
{
"hex": "#7e262b",
"rgb": {
"r": 126,
"g": 38,
"b": 43
},
"hsl": {
"h": 356.591,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.40622,
"c": 0.12124,
"h": 21.2
},
"luminance": 0.05996
}Semantic roles & 50–950 ramp
primary
#7E262B
secondary
#50B0AA
accent
#DDD54B
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79