#7C271E#7C271E
#7C271E is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.2% C 0.120 H 29.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7C271E |
|---|---|
| RGB | rgb(124, 39, 30) |
| HSL | hsl(6, 61%, 30%) |
| HSV | hsv(6, 76%, 49%) |
| CMYK | cmyk(0%, 68.5%, 75.8%, 51.4%) |
| CIE-LAB | lab(28.98, 36.29, 26.00) |
| CIE-LCH | lch(28.98, 44.64, 35.62°) |
| OKLab | oklab(40.17% 0.1044 0.0587) |
| OKLCH | oklch(40.17% 0.12 29.4) |
| XYZ | xyz(9.2730, 5.8312, 1.8653) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 5.28
Reddy Brown
#6E1005
ΔE00 5.35
Indian Red
#850E04
ΔE00 5.40
Red Brown
#8B2E16
ΔE00 5.57
Blood
#770001
ΔE00 5.74
Maroon
#800000
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C271E #1E737C
analogous
#7C1E44 #7C271E #7C561E
triadic
#7C271E #1E7C27 #271E7C
tetradic
#7C271E #447C1E #1E737C #561E7C
square
#7C271E #447C1E #1E737C #561E7C
split-complementary
#7C271E #1E7C56 #1E447C
monochromatic
#190806 #4B1812 #7C271E #AD362A #D15143
Accessibility & contrast
On white
9.70
#7C271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7C271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C271E
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C271E | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F391C
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#891025
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7c271e; /* rgb */ color: rgb(124, 39, 30); /* oklch */ color: oklch(40.2% 0.120 29.4);
Tailwind
colors: {
custom: {
50: '#a9665a',
500: '#7c271e',
950: '#000000',
},
}SCSS
$custom: #7c271e; $custom-light: #a9665a; $custom-dark: #000000;
JSON
{
"hex": "#7c271e",
"rgb": {
"r": 124,
"g": 39,
"b": 30
},
"hsl": {
"h": 5.745,
"s": 61.039,
"l": 30.196
},
"oklch": {
"l": 0.40167,
"c": 0.11976,
"h": 29.4
},
"luminance": 0.0583
}Semantic roles & 50–950 ramp
primary
#7C271E
secondary
#46A5AF
accent
#D5E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79