#420C07#420C07
#420C07 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.3% C 0.084 H 29.7°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).
Color values
| HEX | #420C07 |
|---|---|
| RGB | rgb(66, 12, 7) |
| HSL | hsl(5, 81%, 14%) |
| HSV | hsv(5, 89%, 26%) |
| CMYK | cmyk(0%, 81.8%, 89.4%, 74.1%) |
| CIE-LAB | lab(12.20, 25.47, 16.01) |
| CIE-LCH | lch(12.20, 30.09, 32.16°) |
| OKLab | oklab(25.29% 0.0726 0.0414) |
| OKLCH | oklch(25.29% 0.084 29.7) |
| XYZ | xyz(2.4169, 1.4369, 0.3511) |
| Luminance | 0.0144 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 2.18
Mahogany
#4A0100
ΔE00 3.12
Dried Blood
#4B0101
ΔE00 3.26
Dark Maroon
#3C0008
ΔE00 5.02
Chocolate Brown
#411900
ΔE00 7.63
Rosewood
#65000B
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#420C07 #073D42
analogous
#420720 #420C07 #422A07
triadic
#420C07 #07420C #0C0742
tetradic
#420C07 #204207 #073D42 #2A0742
square
#420C07 #204207 #073D42 #2A0742
split-complementary
#420C07 #07422A #072042
monochromatic
#1C0503 #1C0503 #420C07 #79160D #B12013
Accessibility & contrast
On white
16.31
#420C07 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#420C07 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #420C07
16.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##420C07 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##420C07 | 1.00 | 16.31 | 1.29 | 16.31 |
| #FFFFFF | 16.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C1806
Deuteranopia (green-blind)
#2A2405
Tritanopia (blue-blind)
#4A000B
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #420c07; /* rgb */ color: rgb(66, 12, 7); /* oklch */ color: oklch(25.3% 0.084 29.7);
Tailwind
colors: {
custom: {
50: '#7c4f49',
500: '#420c07',
950: '#000000',
},
}SCSS
$custom: #420c07; $custom-light: #7c4f49; $custom-dark: #000000;
JSON
{
"hex": "#420c07",
"rgb": {
"r": 66,
"g": 12,
"b": 7
},
"hsl": {
"h": 5.085,
"s": 80.822,
"l": 14.314
},
"oklch": {
"l": 0.25289,
"c": 0.08356,
"h": 29.7
},
"luminance": 0.01437
}Semantic roles & 50–950 ramp
primary
#420C07
secondary
#247981
accent
#E6F731
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0A0201
muted
#7C7877