#42121B#42121B
#42121B is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.5% C 0.074 H 12.6°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).
Color values
| HEX | #42121B |
|---|---|
| RGB | rgb(66, 18, 27) |
| HSL | hsl(349, 57%, 16%) |
| HSV | hsv(349, 73%, 26%) |
| CMYK | cmyk(0%, 72.7%, 59.1%, 74.1%) |
| CIE-LAB | lab(13.65, 24.01, 6.38) |
| CIE-LCH | lch(13.65, 24.85, 14.88°) |
| OKLab | oklab(26.5% 0.0726 0.0162) |
| OKLCH | oklch(26.5% 0.074 12.6) |
| XYZ | xyz(2.6611, 1.6703, 1.2190) |
| Luminance | 0.0167 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 4.45
Deep Brown
#410200
ΔE00 6.54
Burgundy (survey)
#610023
ΔE00 7.70
Dried Blood
#4B0101
ΔE00 8.09
Mahogany
#4A0100
ΔE00 8.09
Maroon (survey)
#650021
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42121B #124239
analogous
#421233 #42121B #422112
triadic
#42121B #1B4212 #121B42
tetradic
#42121B #334212 #124239 #211242
square
#42121B #334212 #124239 #211242
split-complementary
#42121B #124221 #123342
monochromatic
#18070A #18070A #42121B #721F2F #A22C42
Accessibility & contrast
On white
15.74
#42121B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#42121B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42121B
15.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42121B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42121B | 1.00 | 15.74 | 1.33 | 15.74 |
| #FFFFFF | 15.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D1D1B
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#490A16
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #42121b; /* rgb */ color: rgb(66, 18, 27); /* oklch */ color: oklch(26.5% 0.074 12.6);
Tailwind
colors: {
custom: {
50: '#7a5357',
500: '#42121b',
950: '#000000',
},
}SCSS
$custom: #42121b; $custom-light: #7a5357; $custom-dark: #000000;
JSON
{
"hex": "#42121b",
"rgb": {
"r": 66,
"g": 18,
"b": 27
},
"hsl": {
"h": 348.75,
"s": 57.143,
"l": 16.471
},
"oklch": {
"l": 0.26501,
"c": 0.07435,
"h": 12.6
},
"luminance": 0.0167
}Semantic roles & 50–950 ramp
primary
#42121B
secondary
#357B6E
accent
#E0C447
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878