#7A271C#7A271C
#7A271C is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.8% C 0.118 H 30.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7A271C |
|---|---|
| RGB | rgb(122, 39, 28) |
| HSL | hsl(7, 63%, 29%) |
| HSV | hsv(7, 77%, 48%) |
| CMYK | cmyk(0%, 68%, 77%, 52.2%) |
| CIE-LAB | lab(28.57, 35.45, 26.65) |
| CIE-LCH | lch(28.57, 44.35, 36.94°) |
| OKLab | oklab(39.78% 0.1015 0.0598) |
| OKLCH | oklch(39.78% 0.118 30.5) |
| XYZ | xyz(8.9621, 5.6737, 1.7216) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 4.91
Indian Red
#850E04
ΔE00 5.17
Red Brown
#8B2E16
ΔE00 5.31
Blood
#770001
ΔE00 5.51
Crimson (survey)
#8C000F
ΔE00 5.51
Maroon
#800000
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A271C #1C6F7A
analogous
#7A1C40 #7A271C #7A561C
triadic
#7A271C #1C7A27 #271C7A
tetradic
#7A271C #407A1C #1C6F7A #561C7A
square
#7A271C #407A1C #1C6F7A #561C7A
split-complementary
#7A271C #1C7A56 #1C407A
monochromatic
#190806 #481711 #7A271C #AC3727 #D34F3E
Accessibility & contrast
On white
9.84
#7A271C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7A271C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A271C
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A271C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A271C | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381A
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#871025
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a271c; /* rgb */ color: rgb(122, 39, 28); /* oklch */ color: oklch(39.8% 0.118 30.5);
Tailwind
colors: {
custom: {
50: '#a76659',
500: '#7a271c',
950: '#000000',
},
}SCSS
$custom: #7a271c; $custom-light: #a76659; $custom-dark: #000000;
JSON
{
"hex": "#7a271c",
"rgb": {
"r": 122,
"g": 39,
"b": 28
},
"hsl": {
"h": 7.021,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.3978,
"c": 0.11785,
"h": 30.5
},
"luminance": 0.05672
}Semantic roles & 50–950 ramp
primary
#7A271C
secondary
#44A2AE
accent
#D3E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78