#7C271B#7C271B
#7C271B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.120 H 30.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7C271B |
|---|---|
| RGB | rgb(124, 39, 27) |
| HSL | hsl(7, 64%, 30%) |
| HSV | hsv(7, 78%, 49%) |
| CMYK | cmyk(0%, 68.5%, 78.2%, 51.4%) |
| CIE-LAB | lab(28.95, 36.15, 27.77) |
| CIE-LCH | lch(28.95, 45.58, 37.53°) |
| OKLab | oklab(40.13% 0.1033 0.0618) |
| OKLCH | oklch(40.13% 0.12 30.9) |
| XYZ | xyz(9.2365, 5.8166, 1.6731) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 4.75
Red Brown
#8B2E16
ΔE00 4.76
Reddy Brown
#6E1005
ΔE00 4.96
Crimson (survey)
#8C000F
ΔE00 5.26
Maroon
#800000
ΔE00 5.30
Dark Red
#840000
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C271B #1B707C
analogous
#7C1B3F #7C271B #7C581B
triadic
#7C271B #1B7C27 #271B7C
tetradic
#7C271B #3F7C1B #1B707C #581B7C
square
#7C271B #3F7C1B #1B707C #581B7C
split-complementary
#7C271B #1B7C58 #1B3F7C
monochromatic
#190805 #4A1710 #7C271B #AE3726 #D5503D
Accessibility & contrast
On white
9.71
#7C271B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7C271B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C271B
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C271B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C271B | 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)
#3F3819
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#890F25
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7c271b; /* rgb */ color: rgb(124, 39, 27); /* oklch */ color: oklch(40.1% 0.120 30.9);
Tailwind
colors: {
custom: {
50: '#a96658',
500: '#7c271b',
950: '#000000',
},
}SCSS
$custom: #7c271b; $custom-light: #a96658; $custom-dark: #000000;
JSON
{
"hex": "#7c271b",
"rgb": {
"r": 124,
"g": 39,
"b": 27
},
"hsl": {
"h": 7.423,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.40126,
"c": 0.12037,
"h": 30.9
},
"luminance": 0.05815
}Semantic roles & 50–950 ramp
primary
#7C271B
secondary
#43A2B0
accent
#D3E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78