#4C170E#4C170E
#4C170E is a dark, moderate red. Relative luminance 0.022; OKLCH L 28.9% C 0.082 H 32.0°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4C170E |
|---|---|
| RGB | rgb(76, 23, 14) |
| HSL | hsl(9, 69%, 18%) |
| HSV | hsv(9, 82%, 30%) |
| CMYK | cmyk(0%, 69.7%, 81.6%, 70.2%) |
| CIE-LAB | lab(16.41, 24.50, 18.87) |
| CIE-LCH | lch(16.41, 30.92, 37.61°) |
| OKLab | oklab(28.88% 0.07 0.0436) |
| OKLCH | oklch(28.88% 0.082 32) |
| XYZ | xyz(3.3665, 2.1815, 0.6592) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mahogany
#4A0100
ΔE00 4.68
Dried Blood
#4B0101
ΔE00 4.73
Deep Brown
#410200
ΔE00 5.35
Chocolate Brown
#411900
ΔE00 5.69
Rosewood
#65000B
ΔE00 7.04
Chocolate (survey)
#3D1C02
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C170E #0E434C
analogous
#4C0E24 #4C170E #4C360E
triadic
#4C170E #0E4C17 #170E4C
tetradic
#4C170E #244C0E #0E434C #360E4C
square
#4C170E #244C0E #0E434C #360E4C
split-complementary
#4C170E #0E4C36 #0E244C
monochromatic
#1A0805 #1A0805 #4C170E #802718 #B33621
Accessibility & contrast
On white
14.62
#4C170E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#4C170E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C170E
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C170E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C170E | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26210D
Deuteranopia (green-blind)
#332D0C
Tritanopia (blue-blind)
#540A15
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #4c170e; /* rgb */ color: rgb(76, 23, 14); /* oklch */ color: oklch(28.9% 0.082 32.0);
Tailwind
colors: {
custom: {
50: '#83574d',
500: '#4c170e',
950: '#000000',
},
}SCSS
$custom: #4c170e; $custom-light: #83574d; $custom-dark: #000000;
JSON
{
"hex": "#4c170e",
"rgb": {
"r": 76,
"g": 23,
"b": 14
},
"hsl": {
"h": 8.71,
"s": 68.889,
"l": 17.647
},
"oklch": {
"l": 0.28875,
"c": 0.08246,
"h": 32
},
"luminance": 0.02181
}Semantic roles & 50–950 ramp
primary
#4C170E
secondary
#2F7A87
accent
#D2EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877