#7A271D#7A271D
#7A271D is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.8% C 0.118 H 30.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7A271D |
|---|---|
| RGB | rgb(122, 39, 29) |
| HSL | hsl(6, 62%, 30%) |
| HSV | hsv(6, 76%, 48%) |
| CMYK | cmyk(0%, 68%, 76.2%, 52.2%) |
| CIE-LAB | lab(28.59, 35.50, 26.06) |
| CIE-LCH | lch(28.59, 44.03, 36.29°) |
| OKLab | oklab(39.79% 0.1019 0.0588) |
| OKLCH | oklch(39.79% 0.118 30) |
| XYZ | xyz(8.9743, 5.6786, 1.7857) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.05
Indian Red
#850E04
ΔE00 5.39
Crimson (survey)
#8C000F
ΔE00 5.53
Red Brown
#8B2E16
ΔE00 5.58
Blood
#770001
ΔE00 5.62
Maroon
#800000
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A271D #1D707A
analogous
#7A1D41 #7A271D #7A561D
triadic
#7A271D #1D7A27 #271D7A
tetradic
#7A271D #417A1D #1D707A #561D7A
square
#7A271D #417A1D #1D707A #561D7A
split-complementary
#7A271D #1D7A56 #1D417A
monochromatic
#190806 #491711 #7A271D #AB3729 #D25040
Accessibility & contrast
On white
9.83
#7A271D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7A271D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A271D
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A271D | 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)
#3E381B
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#871125
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a271d; /* rgb */ color: rgb(122, 39, 29); /* oklch */ color: oklch(39.8% 0.118 30.0);
Tailwind
colors: {
custom: {
50: '#a76659',
500: '#7a271d',
950: '#000000',
},
}SCSS
$custom: #7a271d; $custom-light: #a76659; $custom-dark: #000000;
JSON
{
"hex": "#7a271d",
"rgb": {
"r": 122,
"g": 39,
"b": 29
},
"hsl": {
"h": 6.452,
"s": 61.589,
"l": 29.608
},
"oklch": {
"l": 0.39794,
"c": 0.11764,
"h": 30
},
"luminance": 0.05677
}Semantic roles & 50–950 ramp
primary
#7A271D
secondary
#45A2AE
accent
#D3E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78