#4C0C1C#4C0C1C
#4C0C1C is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.8% C 0.094 H 11.7°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4C0C1C |
|---|---|
| RGB | rgb(76, 12, 28) |
| HSL | hsl(345, 73%, 17%) |
| HSV | hsv(345, 84%, 30%) |
| CMYK | cmyk(0%, 84.2%, 63.2%, 70.2%) |
| CIE-LAB | lab(14.87, 30.44, 7.66) |
| CIE-LCH | lch(14.87, 31.38, 14.12°) |
| OKLab | oklab(27.81% 0.092 0.0191) |
| OKLCH | oklch(27.81% 0.094 11.7) |
| XYZ | xyz(3.3219, 1.8838, 1.2871) |
| Luminance | 0.0188 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 4.46
Burgundy (survey)
#610023
ΔE00 4.78
Maroon (survey)
#650021
ΔE00 5.49
Deep Brown
#410200
ΔE00 6.51
Dried Blood
#4B0101
ΔE00 7.39
Mahogany
#4A0100
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C0C1C #0C4C3C
analogous
#4C0C3C #4C0C1C #4C1C0C
triadic
#4C0C1C #1C4C0C #0C1C4C
tetradic
#4C0C1C #3C4C0C #0C4C3C #1C0C4C
square
#4C0C1C #3C4C0C #0C4C3C #1C0C4C
split-complementary
#4C0C1C #0C4C1C #0C3C4C
monochromatic
#1A040A #1A040A #4C0C1C #81142F #B61D43
Accessibility & contrast
On white
15.25
#4C0C1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#4C0C1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C0C1C
15.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C0C1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C0C1C | 1.00 | 15.25 | 1.38 | 15.25 |
| #FFFFFF | 15.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D1D1C
Deuteranopia (green-blind)
#2E2A1A
Tritanopia (blue-blind)
#540013
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #4c0c1c; /* rgb */ color: rgb(76, 12, 28); /* oklch */ color: oklch(27.8% 0.094 11.7);
Tailwind
colors: {
custom: {
50: '#835257',
500: '#4c0c1c',
950: '#000000',
},
}SCSS
$custom: #4c0c1c; $custom-light: #835257; $custom-dark: #000000;
JSON
{
"hex": "#4c0c1c",
"rgb": {
"r": 76,
"g": 12,
"b": 28
},
"hsl": {
"h": 345,
"s": 72.727,
"l": 17.255
},
"oklch": {
"l": 0.27808,
"c": 0.09399,
"h": 11.7
},
"luminance": 0.01883
}Semantic roles & 50–950 ramp
primary
#4C0C1C
secondary
#2C8871
accent
#EFC238
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0203
muted
#7C7878