#7B271F#7B271F
#7B271F is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.118 H 28.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7B271F |
|---|---|
| RGB | rgb(123, 39, 31) |
| HSL | hsl(5, 60%, 30%) |
| HSV | hsv(5, 75%, 48%) |
| CMYK | cmyk(0%, 68.3%, 74.8%, 51.8%) |
| CIE-LAB | lab(28.80, 35.97, 25.13) |
| CIE-LCH | lch(28.80, 43.88, 34.94°) |
| OKLab | oklab(40% 0.1037 0.0571) |
| OKLCH | oklch(40% 0.118 28.9) |
| XYZ | xyz(9.1422, 5.7622, 1.9269) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.46
Crimson (survey)
#8C000F
ΔE00 5.49
Indian Red
#850E04
ΔE00 5.76
Blood
#770001
ΔE00 5.90
Red Brown
#8B2E16
ΔE00 6.00
Maroon
#800000
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B271F #1F737B
analogous
#7B1F45 #7B271F #7B551F
triadic
#7B271F #1F7B27 #271F7B
tetradic
#7B271F #457B1F #1F737B #551F7B
square
#7B271F #457B1F #1F737B #551F7B
split-complementary
#7B271F #1F7B55 #1F457B
monochromatic
#190806 #4A1813 #7B271F #AC362B #D05144
Accessibility & contrast
On white
9.76
#7B271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7B271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B271F
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B271F | 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)
#3E381E
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#881026
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b271f; /* rgb */ color: rgb(123, 39, 31); /* oklch */ color: oklch(40.0% 0.118 28.9);
Tailwind
colors: {
custom: {
50: '#a8665b',
500: '#7b271f',
950: '#000000',
},
}SCSS
$custom: #7b271f; $custom-light: #a8665b; $custom-dark: #000000;
JSON
{
"hex": "#7b271f",
"rgb": {
"r": 123,
"g": 39,
"b": 31
},
"hsl": {
"h": 5.217,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.40002,
"c": 0.1184,
"h": 28.9
},
"luminance": 0.05761
}Semantic roles & 50–950 ramp
primary
#7B271F
secondary
#48A5AE
accent
#D5E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79