#7F2F1A#7F2F1A
#7F2F1A is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.116 H 35.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2F1A |
|---|---|
| RGB | rgb(127, 47, 26) |
| HSL | hsl(12, 66%, 30%) |
| HSV | hsv(12, 80%, 50%) |
| CMYK | cmyk(0%, 63%, 79.5%, 50.2%) |
| CIE-LAB | lab(30.93, 33.42, 30.62) |
| CIE-LCH | lch(30.93, 45.33, 42.50°) |
| OKLab | oklab(41.72% 0.0943 0.0675) |
| OKLCH | oklch(41.72% 0.116 35.6) |
| XYZ | xyz(9.9564, 6.6210, 1.7308) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.69
Reddish Brown
#7F2B0A
ΔE00 3.36
Chestnut
#742802
ΔE00 5.19
Indian Red
#850E04
ΔE00 5.53
Brown Red
#922B05
ΔE00 5.54
Brick Red
#8F1402
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2F1A #1A6A7F
analogous
#7F1A38 #7F2F1A #7F611A
triadic
#7F2F1A #1A7F2F #2F1A7F
tetradic
#7F2F1A #387F1A #1A6A7F #611A7F
square
#7F2F1A #387F1A #1A6A7F #611A7F
split-complementary
#7F2F1A #1A7F61 #1A387F
monochromatic
#190905 #4C1C10 #7F2F1A #B24224 #D75C3C
Accessibility & contrast
On white
9.04
#7F2F1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7F2F1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2F1A
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2F1A | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E17
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#8C1C2B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f2f1a; /* rgb */ color: rgb(127, 47, 26); /* oklch */ color: oklch(41.7% 0.116 35.6);
Tailwind
colors: {
custom: {
50: '#ab6b58',
500: '#7f2f1a',
950: '#000000',
},
}SCSS
$custom: #7f2f1a; $custom-light: #ab6b58; $custom-dark: #000000;
JSON
{
"hex": "#7f2f1a",
"rgb": {
"r": 127,
"g": 47,
"b": 26
},
"hsl": {
"h": 12.475,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.41722,
"c": 0.11595,
"h": 35.6
},
"luminance": 0.0662
}Semantic roles & 50–950 ramp
primary
#7F2F1A
secondary
#429BB3
accent
#C6E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78