#7F2C18#7F2C18
#7F2C18 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.119 H 34.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2C18 |
|---|---|
| RGB | rgb(127, 44, 24) |
| HSL | hsl(12, 68%, 30%) |
| HSV | hsv(12, 81%, 50%) |
| CMYK | cmyk(0%, 65.4%, 81.1%, 50.2%) |
| CIE-LAB | lab(30.35, 34.81, 31.15) |
| CIE-LCH | lch(30.35, 46.72, 41.83°) |
| OKLab | oklab(41.28% 0.0982 0.0681) |
| OKLCH | oklch(41.28% 0.119 34.7) |
| XYZ | xyz(9.8190, 6.3807, 1.5785) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.71
Reddish Brown
#7F2B0A
ΔE00 3.42
Indian Red
#850E04
ΔE00 4.83
Brick Red
#8F1402
ΔE00 5.10
Chestnut
#742802
ΔE00 5.23
Brown Red
#922B05
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2C18 #186B7F
analogous
#7F1838 #7F2C18 #7F5F18
triadic
#7F2C18 #187F2C #2C187F
tetradic
#7F2C18 #387F18 #186B7F #5F187F
square
#7F2C18 #387F18 #186B7F #5F187F
split-complementary
#7F2C18 #187F5F #18387F
monochromatic
#1A0905 #4C1A0E #7F2C18 #B23E22 #D95738
Accessibility & contrast
On white
9.23
#7F2C18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7F2C18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2C18
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2C18 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433C15
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#8C1628
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2c18; /* rgb */ color: rgb(127, 44, 24); /* oklch */ color: oklch(41.3% 0.119 34.7);
Tailwind
colors: {
custom: {
50: '#ab6956',
500: '#7f2c18',
950: '#000000',
},
}SCSS
$custom: #7f2c18; $custom-light: #ab6956; $custom-dark: #000000;
JSON
{
"hex": "#7f2c18",
"rgb": {
"r": 127,
"g": 44,
"b": 24
},
"hsl": {
"h": 11.65,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.41282,
"c": 0.11945,
"h": 34.7
},
"luminance": 0.06379
}Semantic roles & 50–950 ramp
primary
#7F2C18
secondary
#3F9DB3
accent
#C9EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78