#3F040C#3F040C
#3F040C is a very dark, moderate red. Relative luminance 0.012; OKLCH L 23.8% C 0.088 H 20.0°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3F040C |
|---|---|
| RGB | rgb(63, 4, 12) |
| HSL | hsl(352, 88%, 13%) |
| HSV | hsv(352, 94%, 25%) |
| CMYK | cmyk(0%, 93.7%, 81%, 75.3%) |
| CIE-LAB | lab(10.34, 28.10, 11.24) |
| CIE-LCH | lch(10.34, 30.26, 21.81°) |
| OKLab | oklab(23.8% 0.0828 0.0301) |
| OKLCH | oklch(23.8% 0.088 20) |
| XYZ | xyz(2.1599, 1.1705, 0.4600) |
| Luminance | 0.0117 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 1.15
Deep Brown
#410200
ΔE00 3.10
Mahogany
#4A0100
ΔE00 5.01
Dried Blood
#4B0101
ΔE00 5.05
Burgundy (survey)
#610023
ΔE00 8.08
Maroon (survey)
#650021
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F040C #043F37
analogous
#3F0429 #3F040C #3F1904
triadic
#3F040C #0C3F04 #040C3F
tetradic
#3F040C #293F04 #043F37 #19043F
square
#3F040C #293F04 #043F37 #19043F
split-complementary
#3F040C #043F19 #04293F
monochromatic
#1D0205 #1D0205 #3F040C #790817 #B20B22
Accessibility & contrast
On white
17.02
#3F040C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#3F040C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F040C
17.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F040C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F040C | 1.00 | 17.02 | 1.23 | 17.02 |
| #FFFFFF | 17.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16140C
Deuteranopia (green-blind)
#25210A
Tritanopia (blue-blind)
#460007
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #3f040c; /* rgb */ color: rgb(63, 4, 12); /* oklch */ color: oklch(23.8% 0.088 20.0);
Tailwind
colors: {
custom: {
50: '#794b4c',
500: '#3f040c',
950: '#000000',
},
}SCSS
$custom: #3f040c; $custom-light: #794b4c; $custom-dark: #000000;
JSON
{
"hex": "#3f040c",
"rgb": {
"r": 63,
"g": 4,
"b": 12
},
"hsl": {
"h": 351.864,
"s": 88.06,
"l": 13.137
},
"oklch": {
"l": 0.23803,
"c": 0.08807,
"h": 20
},
"luminance": 0.0117
}Semantic roles & 50–950 ramp
primary
#3F040C
secondary
#1E8073
accent
#FEE12A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777