#7F2F1B#7F2F1B
#7F2F1B is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.116 H 35.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2F1B |
|---|---|
| RGB | rgb(127, 47, 27) |
| HSL | hsl(12, 65%, 30%) |
| HSV | hsv(12, 79%, 50%) |
| CMYK | cmyk(0%, 63%, 78.7%, 50.2%) |
| CIE-LAB | lab(30.94, 33.47, 30.07) |
| CIE-LCH | lch(30.94, 44.99, 41.94°) |
| OKLab | oklab(41.73% 0.0946 0.0666) |
| OKLCH | oklch(41.73% 0.116 35.1) |
| XYZ | xyz(9.9678, 6.6256, 1.7907) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.81
Reddish Brown
#7F2B0A
ΔE00 3.67
Chestnut
#742802
ΔE00 5.46
Indian Red
#850E04
ΔE00 5.53
Brick Red
#8F1402
ΔE00 5.68
Brown Red
#922B05
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2F1B #1B6B7F
analogous
#7F1B39 #7F2F1B #7F611B
triadic
#7F2F1B #1B7F2F #2F1B7F
tetradic
#7F2F1B #397F1B #1B6B7F #611B7F
square
#7F2F1B #397F1B #1B6B7F #611B7F
split-complementary
#7F2F1B #1B7F61 #1B397F
monochromatic
#1A0A06 #4D1C10 #7F2F1B #B14226 #D65D3E
Accessibility & contrast
On white
9.03
#7F2F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7F2F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2F1B
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2F1B | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E18
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#8C1C2B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f2f1b; /* rgb */ color: rgb(127, 47, 27); /* oklch */ color: oklch(41.7% 0.116 35.1);
Tailwind
colors: {
custom: {
50: '#ab6b58',
500: '#7f2f1b',
950: '#000000',
},
}SCSS
$custom: #7f2f1b; $custom-light: #ab6b58; $custom-dark: #000000;
JSON
{
"hex": "#7f2f1b",
"rgb": {
"r": 127,
"g": 47,
"b": 27
},
"hsl": {
"h": 12,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.41734,
"c": 0.11569,
"h": 35.1
},
"luminance": 0.06624
}Semantic roles & 50–950 ramp
primary
#7F2F1B
secondary
#439CB3
accent
#C6E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78