#7E2F2F#7E2F2F
#7E2F2F is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.110 H 23.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F2F |
|---|---|
| RGB | rgb(126, 47, 47) |
| HSL | hsl(0, 46%, 34%) |
| HSV | hsv(0, 63%, 49%) |
| CMYK | cmyk(0%, 62.7%, 62.7%, 50.6%) |
| CIE-LAB | lab(31.06, 34.27, 17.88) |
| CIE-LCH | lch(31.06, 38.66, 27.56°) |
| OKLab | oklab(41.88% 0.1013 0.0432) |
| OKLCH | oklch(41.88% 0.11 23.1) |
| XYZ | xyz(10.1347, 6.6752, 3.4435) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.02
Burgundy
#800020
ΔE00 6.52
Wine Red
#7B0323
ΔE00 6.88
Crimson (survey)
#8C000F
ΔE00 8.37
Brown
#A52A2A
ΔE00 8.39
Purple Brown
#673A3F
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F2F #2F7E7E
analogous
#7E2F57 #7E2F2F #7E572F
triadic
#7E2F2F #2F7E2F #2F2F7E
tetradic
#7E2F2F #577E2F #2F7E7E #572F7E
square
#7E2F2F #577E2F #2F7E7E #572F7E
split-complementary
#7E2F2F #2F7E57 #2F577E
monochromatic
#250E0E #511E1E #7E2F2F #AB4040 #C56363
Accessibility & contrast
On white
8.99
#7E2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#7E2F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F2F
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F2F | 1.00 | 8.99 | 2.33 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433F2E
Deuteranopia (green-blind)
#574F2D
Tritanopia (blue-blind)
#8A2030
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2f2f; /* rgb */ color: rgb(126, 47, 47); /* oklch */ color: oklch(41.9% 0.110 23.1);
Tailwind
colors: {
custom: {
50: '#a96b67',
500: '#7e2f2f',
950: '#000000',
},
}SCSS
$custom: #7e2f2f; $custom-light: #a96b67; $custom-dark: #000000;
JSON
{
"hex": "#7e2f2f",
"rgb": {
"r": 126,
"g": 47,
"b": 47
},
"hsl": {
"h": 0,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.41883,
"c": 0.11016,
"h": 23.1
},
"luminance": 0.06674
}Semantic roles & 50–950 ramp
primary
#7E2F2F
secondary
#5DACAC
accent
#D5D552
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A