#7B271E#7B271E
#7B271E is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.119 H 29.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7B271E |
|---|---|
| RGB | rgb(123, 39, 30) |
| HSL | hsl(6, 61%, 30%) |
| HSV | hsv(6, 76%, 48%) |
| CMYK | cmyk(0%, 68.3%, 75.6%, 51.8%) |
| CIE-LAB | lab(28.79, 35.92, 25.73) |
| CIE-LCH | lch(28.79, 44.18, 35.62°) |
| OKLab | oklab(39.99% 0.1033 0.0582) |
| OKLCH | oklch(39.99% 0.119 29.4) |
| XYZ | xyz(9.1292, 5.7570, 1.8586) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.28
Crimson (survey)
#8C000F
ΔE00 5.42
Indian Red
#850E04
ΔE00 5.51
Red Brown
#8B2E16
ΔE00 5.71
Blood
#770001
ΔE00 5.74
Maroon
#800000
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B271E #1E727B
analogous
#7B1E44 #7B271E #7B551E
triadic
#7B271E #1E7B27 #271E7B
tetradic
#7B271E #447B1E #1E727B #551E7B
square
#7B271E #447B1E #1E727B #551E7B
split-complementary
#7B271E #1E7B55 #1E447B
monochromatic
#190806 #4A1712 #7B271E #AC372A #D15042
Accessibility & contrast
On white
9.76
#7B271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7B271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B271E
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B271E | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381C
Deuteranopia (green-blind)
#534B1B
Tritanopia (blue-blind)
#881025
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b271e; /* rgb */ color: rgb(123, 39, 30); /* oklch */ color: oklch(40.0% 0.119 29.4);
Tailwind
colors: {
custom: {
50: '#a8665a',
500: '#7b271e',
950: '#000000',
},
}SCSS
$custom: #7b271e; $custom-light: #a8665a; $custom-dark: #000000;
JSON
{
"hex": "#7b271e",
"rgb": {
"r": 123,
"g": 39,
"b": 30
},
"hsl": {
"h": 5.806,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.39987,
"c": 0.11859,
"h": 29.4
},
"luminance": 0.05756
}Semantic roles & 50–950 ramp
primary
#7B271E
secondary
#46A4AE
accent
#D4E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79