#7F2812#7F2812
#7F2812 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.125 H 35.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2812 |
|---|---|
| RGB | rgb(127, 40, 18) |
| HSL | hsl(12, 75%, 28%) |
| HSV | hsv(12, 86%, 50%) |
| CMYK | cmyk(0%, 68.5%, 85.8%, 50.2%) |
| CIE-LAB | lab(29.60, 36.47, 33.65) |
| CIE-LCH | lch(29.60, 49.62, 42.69°) |
| OKLab | oklab(40.7% 0.1022 0.0715) |
| OKLCH | oklch(40.7% 0.125 35) |
| XYZ | xyz(9.6215, 6.0747, 1.2381) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.73
Reddish Brown
#7F2B0A
ΔE00 2.73
Indian Red
#850E04
ΔE00 4.05
Brick Red
#8F1402
ΔE00 4.30
Chestnut
#742802
ΔE00 4.56
Brown Red
#922B05
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2812 #12697F
analogous
#7F1232 #7F2812 #7F5E12
triadic
#7F2812 #127F28 #28127F
tetradic
#7F2812 #327F12 #12697F #5E127F
square
#7F2812 #327F12 #12697F #5E127F
split-complementary
#7F2812 #127F5E #12327F
monochromatic
#1B0804 #49170A #7F2812 #B5391A #E14F2B
Accessibility & contrast
On white
9.48
#7F2812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F2812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2812
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2812 | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#574D0E
Tritanopia (blue-blind)
#8C0D24
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f2812; /* rgb */ color: rgb(127, 40, 18); /* oklch */ color: oklch(40.7% 0.125 35.0);
Tailwind
colors: {
custom: {
50: '#ac6752',
500: '#7f2812',
950: '#000000',
},
}SCSS
$custom: #7f2812; $custom-light: #ac6752; $custom-dark: #000000;
JSON
{
"hex": "#7f2812",
"rgb": {
"r": 127,
"g": 40,
"b": 18
},
"hsl": {
"h": 12.11,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.40698,
"c": 0.12467,
"h": 35
},
"luminance": 0.06073
}Semantic roles & 50–950 ramp
primary
#7F2812
secondary
#389CB5
accent
#CCF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78