#7F2C12#7F2C12
#7F2C12 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.2% C 0.121 H 37.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2C12 |
|---|---|
| RGB | rgb(127, 44, 18) |
| HSL | hsl(14, 75%, 28%) |
| HSV | hsv(14, 86%, 50%) |
| CMYK | cmyk(0%, 65.4%, 85.8%, 50.2%) |
| CIE-LAB | lab(30.30, 34.60, 34.29) |
| CIE-LCH | lch(30.30, 48.71, 44.74°) |
| OKLab | oklab(41.22% 0.0964 0.0729) |
| OKLCH | oklch(41.22% 0.121 37.1) |
| XYZ | xyz(9.7634, 6.3585, 1.2854) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 1.68
Red Brown
#8B2E16
ΔE00 2.60
Chestnut
#742802
ΔE00 3.77
Brown Red
#922B05
ΔE00 4.48
Rust Brown
#8B3103
ΔE00 4.77
Brick Red
#8F1402
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2C12 #12657F
analogous
#7F122E #7F2C12 #7F6212
triadic
#7F2C12 #127F2C #2C127F
tetradic
#7F2C12 #2E7F12 #12657F #62127F
square
#7F2C12 #2E7F12 #12657F #62127F
split-complementary
#7F2C12 #127F62 #122E7F
monochromatic
#1B0904 #49190A #7F2C12 #B53F1A #E1562B
Accessibility & contrast
On white
9.25
#7F2C12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7F2C12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2C12
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2C12 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443C0E
Deuteranopia (green-blind)
#584E0E
Tritanopia (blue-blind)
#8C1527
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2c12; /* rgb */ color: rgb(127, 44, 18); /* oklch */ color: oklch(41.2% 0.121 37.1);
Tailwind
colors: {
custom: {
50: '#ac6952',
500: '#7f2c12',
950: '#000000',
},
}SCSS
$custom: #7f2c12; $custom-light: #ac6952; $custom-dark: #000000;
JSON
{
"hex": "#7f2c12",
"rgb": {
"r": 127,
"g": 44,
"b": 18
},
"hsl": {
"h": 14.312,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.41224,
"c": 0.12084,
"h": 37.1
},
"luminance": 0.06357
}Semantic roles & 50–950 ramp
primary
#7F2C12
secondary
#3897B5
accent
#C5F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78