#7F2F1C#7F2F1C
#7F2F1C is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.115 H 34.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2F1C |
|---|---|
| RGB | rgb(127, 47, 28) |
| HSL | hsl(12, 64%, 30%) |
| HSV | hsv(12, 78%, 50%) |
| CMYK | cmyk(0%, 63%, 78%, 50.2%) |
| CIE-LAB | lab(30.95, 33.51, 29.51) |
| CIE-LCH | lch(30.95, 44.65, 41.36°) |
| OKLab | oklab(41.75% 0.0949 0.0657) |
| OKLCH | oklch(41.75% 0.115 34.7) |
| XYZ | xyz(9.9796, 6.6303, 1.8527) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.97
Reddish Brown
#7F2B0A
ΔE00 3.99
Indian Red
#850E04
ΔE00 5.55
Chestnut
#742802
ΔE00 5.75
Brick Red
#8F1402
ΔE00 5.78
Brown Red
#922B05
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2F1C #1C6C7F
analogous
#7F1C3A #7F2F1C #7F601C
triadic
#7F2F1C #1C7F2F #2F1C7F
tetradic
#7F2F1C #3A7F1C #1C6C7F #601C7F
square
#7F2F1C #3A7F1C #1C6C7F #601C7F
split-complementary
#7F2F1C #1C7F60 #1C3A7F
monochromatic
#1B0A06 #4D1C11 #7F2F1C #B14227 #D55D40
Accessibility & contrast
On white
9.03
#7F2F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#7F2F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2F1C
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2F1C | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E1A
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#8C1C2B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f2f1c; /* rgb */ color: rgb(127, 47, 28); /* oklch */ color: oklch(41.7% 0.115 34.7);
Tailwind
colors: {
custom: {
50: '#ab6b59',
500: '#7f2f1c',
950: '#000000',
},
}SCSS
$custom: #7f2f1c; $custom-light: #ab6b59; $custom-dark: #000000;
JSON
{
"hex": "#7f2f1c",
"rgb": {
"r": 127,
"g": 47,
"b": 28
},
"hsl": {
"h": 11.515,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.41746,
"c": 0.11543,
"h": 34.7
},
"luminance": 0.06629
}Semantic roles & 50–950 ramp
primary
#7F2F1C
secondary
#449DB3
accent
#C7E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78