#7F2D1A#7F2D1A
#7F2D1A is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.118 H 34.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2D1A |
|---|---|
| RGB | rgb(127, 45, 26) |
| HSL | hsl(11, 66%, 30%) |
| HSV | hsv(11, 80%, 50%) |
| CMYK | cmyk(0%, 64.6%, 79.5%, 50.2%) |
| CIE-LAB | lab(30.56, 34.41, 30.24) |
| CIE-LCH | lch(30.56, 45.81, 41.31°) |
| OKLab | oklab(41.44% 0.0973 0.0667) |
| OKLCH | oklch(41.44% 0.118 34.4) |
| XYZ | xyz(9.8783, 6.4648, 1.7047) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.87
Reddish Brown
#7F2B0A
ΔE00 3.81
Indian Red
#850E04
ΔE00 5.08
Brick Red
#8F1402
ΔE00 5.38
Chestnut
#742802
ΔE00 5.58
Brown Red
#922B05
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2D1A #1A6C7F
analogous
#7F1A3A #7F2D1A #7F5F1A
triadic
#7F2D1A #1A7F2D #2D1A7F
tetradic
#7F2D1A #3A7F1A #1A6C7F #5F1A7F
square
#7F2D1A #3A7F1A #1A6C7F #5F1A7F
split-complementary
#7F2D1A #1A7F5F #1A3A7F
monochromatic
#190905 #4C1B10 #7F2D1A #B23F24 #D7593C
Accessibility & contrast
On white
9.16
#7F2D1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7F2D1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2D1A
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2D1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2D1A | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D17
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#8C1829
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2d1a; /* rgb */ color: rgb(127, 45, 26); /* oklch */ color: oklch(41.4% 0.118 34.4);
Tailwind
colors: {
custom: {
50: '#ab6a58',
500: '#7f2d1a',
950: '#000000',
},
}SCSS
$custom: #7f2d1a; $custom-light: #ab6a58; $custom-dark: #000000;
JSON
{
"hex": "#7f2d1a",
"rgb": {
"r": 127,
"g": 45,
"b": 26
},
"hsl": {
"h": 11.287,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.41441,
"c": 0.11796,
"h": 34.4
},
"luminance": 0.06463
}Semantic roles & 50–950 ramp
primary
#7F2D1A
secondary
#429EB3
accent
#C9E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78