#7C271A#7C271A
#7C271A is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.121 H 31.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7C271A |
|---|---|
| RGB | rgb(124, 39, 26) |
| HSL | hsl(8, 65%, 29%) |
| HSV | hsv(8, 79%, 49%) |
| CMYK | cmyk(0%, 68.5%, 79%, 51.4%) |
| CIE-LAB | lab(28.93, 36.10, 28.35) |
| CIE-LCH | lch(28.93, 45.90, 38.14°) |
| OKLab | oklab(40.11% 0.1029 0.0628) |
| OKLCH | oklch(40.11% 0.121 31.4) |
| XYZ | xyz(9.2252, 5.8121, 1.6132) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.53
Indian Red
#850E04
ΔE00 4.58
Reddy Brown
#6E1005
ΔE00 4.88
Maroon
#800000
ΔE00 5.18
Dark Red
#840000
ΔE00 5.27
Crimson (survey)
#8C000F
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C271A #1A6F7C
analogous
#7C1A3E #7C271A #7C581A
triadic
#7C271A #1A7C27 #271A7C
tetradic
#7C271A #3E7C1A #1A6F7C #581A7C
square
#7C271A #3E7C1A #1A6F7C #581A7C
split-complementary
#7C271A #1A7C58 #1A3E7C
monochromatic
#190805 #49170F #7C271A #AF3725 #D64F3B
Accessibility & contrast
On white
9.71
#7C271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7C271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C271A
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C271A | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#890F25
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7c271a; /* rgb */ color: rgb(124, 39, 26); /* oklch */ color: oklch(40.1% 0.121 31.4);
Tailwind
colors: {
custom: {
50: '#a96657',
500: '#7c271a',
950: '#000000',
},
}SCSS
$custom: #7c271a; $custom-light: #a96657; $custom-dark: #000000;
JSON
{
"hex": "#7c271a",
"rgb": {
"r": 124,
"g": 39,
"b": 26
},
"hsl": {
"h": 7.959,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.40114,
"c": 0.12058,
"h": 31.4
},
"luminance": 0.05811
}Semantic roles & 50–950 ramp
primary
#7C271A
secondary
#42A2B0
accent
#D2E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78