#7F2A12#7F2A12
#7F2A12 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.123 H 36.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A12 |
|---|---|
| RGB | rgb(127, 42, 18) |
| HSL | hsl(13, 75%, 28%) |
| HSV | hsv(13, 86%, 50%) |
| CMYK | cmyk(0%, 66.9%, 85.8%, 50.2%) |
| CIE-LAB | lab(29.94, 35.55, 33.96) |
| CIE-LCH | lch(29.94, 49.17, 43.69°) |
| OKLab | oklab(40.96% 0.0993 0.0722) |
| OKLCH | oklch(40.96% 0.123 36) |
| XYZ | xyz(9.6906, 6.2130, 1.2611) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 2.18
Red Brown
#8B2E16
ΔE00 2.58
Chestnut
#742802
ΔE00 4.14
Indian Red
#850E04
ΔE00 4.57
Brick Red
#8F1402
ΔE00 4.58
Brown Red
#922B05
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A12 #12677F
analogous
#7F1230 #7F2A12 #7F6012
triadic
#7F2A12 #127F2A #2A127F
tetradic
#7F2A12 #307F12 #12677F #60127F
square
#7F2A12 #307F12 #12677F #60127F
split-complementary
#7F2A12 #127F60 #12307F
monochromatic
#1B0904 #49180A #7F2A12 #B53C1A #E1532B
Accessibility & contrast
On white
9.36
#7F2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F2A12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A12
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A12 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#584E0E
Tritanopia (blue-blind)
#8C1125
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f2a12; /* rgb */ color: rgb(127, 42, 18); /* oklch */ color: oklch(41.0% 0.123 36.0);
Tailwind
colors: {
custom: {
50: '#ac6852',
500: '#7f2a12',
950: '#000000',
},
}SCSS
$custom: #7f2a12; $custom-light: #ac6852; $custom-dark: #000000;
JSON
{
"hex": "#7f2a12",
"rgb": {
"r": 127,
"g": 42,
"b": 18
},
"hsl": {
"h": 13.211,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.40956,
"c": 0.12275,
"h": 36
},
"luminance": 0.06212
}Semantic roles & 50–950 ramp
primary
#7F2A12
secondary
#3899B5
accent
#C8F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78