#7F2B1C#7F2B1C
#7F2B1C is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.120 H 32.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2B1C |
|---|---|
| RGB | rgb(127, 43, 28) |
| HSL | hsl(9, 64%, 30%) |
| HSV | hsv(9, 78%, 50%) |
| CMYK | cmyk(0%, 66.1%, 78%, 50.2%) |
| CIE-LAB | lab(30.22, 35.46, 28.72) |
| CIE-LCH | lch(30.22, 45.63, 39.01°) |
| OKLab | oklab(41.19% 0.101 0.064) |
| OKLCH | oklch(41.19% 0.12 32.3) |
| XYZ | xyz(9.8269, 6.3250, 1.8018) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.65
Indian Red
#850E04
ΔE00 4.91
Reddish Brown
#7F2B0A
ΔE00 4.98
Brick Red
#8F1402
ΔE00 5.60
Crimson (survey)
#8C000F
ΔE00 5.76
Dark Red
#840000
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2B1C #1C707F
analogous
#7F1C3E #7F2B1C #7F5C1C
triadic
#7F2B1C #1C7F2B #2B1C7F
tetradic
#7F2B1C #3E7F1C #1C707F #5C1C7F
square
#7F2B1C #3E7F1C #1C707F #5C1C7F
split-complementary
#7F2B1C #1C7F5C #1C3E7F
monochromatic
#1B0906 #4D1A11 #7F2B1C #B13C27 #D55740
Accessibility & contrast
On white
9.27
#7F2B1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7F2B1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2B1C
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2B1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2B1C | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433B1A
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#8C1528
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2b1c; /* rgb */ color: rgb(127, 43, 28); /* oklch */ color: oklch(41.2% 0.120 32.3);
Tailwind
colors: {
custom: {
50: '#ab6959',
500: '#7f2b1c',
950: '#000000',
},
}SCSS
$custom: #7f2b1c; $custom-light: #ab6959; $custom-dark: #000000;
JSON
{
"hex": "#7f2b1c",
"rgb": {
"r": 127,
"g": 43,
"b": 28
},
"hsl": {
"h": 9.091,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.41194,
"c": 0.11953,
"h": 32.3
},
"luminance": 0.06324
}Semantic roles & 50–950 ramp
primary
#7F2B1C
secondary
#44A2B3
accent
#CEE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78