#7E2F27#7E2F27
#7E2F27 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 28.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F27 |
|---|---|
| RGB | rgb(126, 47, 39) |
| HSL | hsl(6, 53%, 32%) |
| HSV | hsv(6, 69%, 49%) |
| CMYK | cmyk(0%, 62.7%, 69%, 50.6%) |
| CIE-LAB | lab(30.92, 33.72, 22.79) |
| CIE-LCH | lch(30.92, 40.69, 34.05°) |
| OKLab | oklab(41.73% 0.098 0.0533) |
| OKLCH | oklch(41.73% 0.112 28.5) |
| XYZ | xyz(9.9879, 6.6165, 2.6702) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 6.19
Crimson (survey)
#8C000F
ΔE00 6.83
Indian Red
#850E04
ΔE00 7.30
Reddy Brown
#6E1005
ΔE00 7.42
Carmine
#9D0216
ΔE00 7.71
Brownish Red
#9E3623
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F27 #27767E
analogous
#7E274B #7E2F27 #7E5A27
triadic
#7E2F27 #277E2F #2F277E
tetradic
#7E2F27 #4B7E27 #27767E #5A277E
square
#7E2F27 #4B7E27 #27767E #5A277E
split-complementary
#7E2F27 #277E5A #274B7E
monochromatic
#210C0A #4F1E19 #7E2F27 #AD4035 #CA6055
Accessibility & contrast
On white
9.04
#7E2F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7E2F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F27
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F27 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E26
Deuteranopia (green-blind)
#584F25
Tritanopia (blue-blind)
#8A1E2E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2f27; /* rgb */ color: rgb(126, 47, 39); /* oklch */ color: oklch(41.7% 0.112 28.5);
Tailwind
colors: {
custom: {
50: '#a96b61',
500: '#7e2f27',
950: '#000000',
},
}SCSS
$custom: #7e2f27; $custom-light: #a96b61; $custom-dark: #000000;
JSON
{
"hex": "#7e2f27",
"rgb": {
"r": 126,
"g": 47,
"b": 39
},
"hsl": {
"h": 5.517,
"s": 52.727,
"l": 32.353
},
"oklch": {
"l": 0.41734,
"c": 0.11156,
"h": 28.5
},
"luminance": 0.06615
}Semantic roles & 50–950 ramp
primary
#7E2F27
secondary
#52A7AF
accent
#CFDC4C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110705
muted
#807A79