#7A271E#7A271E
#7A271E is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.8% C 0.117 H 29.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7A271E |
|---|---|
| RGB | rgb(122, 39, 30) |
| HSL | hsl(6, 61%, 30%) |
| HSV | hsv(6, 75%, 48%) |
| CMYK | cmyk(0%, 68%, 75.4%, 52.2%) |
| CIE-LAB | lab(28.60, 35.55, 25.46) |
| CIE-LCH | lch(28.60, 43.72, 35.62°) |
| OKLab | oklab(39.81% 0.1023 0.0577) |
| OKLCH | oklch(39.81% 0.117 29.4) |
| XYZ | xyz(8.9869, 5.6836, 1.8519) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.22
Crimson (survey)
#8C000F
ΔE00 5.57
Indian Red
#850E04
ΔE00 5.62
Blood
#770001
ΔE00 5.75
Red Brown
#8B2E16
ΔE00 5.85
Maroon
#800000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A271E #1E717A
analogous
#7A1E43 #7A271E #7A551E
triadic
#7A271E #1E7A27 #271E7A
tetradic
#7A271E #437A1E #1E717A #551E7A
square
#7A271E #437A1E #1E717A #551E7A
split-complementary
#7A271E #1E7A55 #1E437A
monochromatic
#190806 #491712 #7A271E #AB372A #D05042
Accessibility & contrast
On white
9.83
#7A271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7A271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A271E
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A271E | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381C
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#871125
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a271e; /* rgb */ color: rgb(122, 39, 30); /* oklch */ color: oklch(39.8% 0.117 29.4);
Tailwind
colors: {
custom: {
50: '#a7665a',
500: '#7a271e',
950: '#000000',
},
}SCSS
$custom: #7a271e; $custom-light: #a7665a; $custom-dark: #000000;
JSON
{
"hex": "#7a271e",
"rgb": {
"r": 122,
"g": 39,
"b": 30
},
"hsl": {
"h": 5.87,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.39808,
"c": 0.11743,
"h": 29.4
},
"luminance": 0.05682
}Semantic roles & 50–950 ramp
primary
#7A271E
secondary
#46A3AE
accent
#D4E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79