#42151C#42151C
#42151C is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.0% C 0.070 H 13.7°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).
Color values
| HEX | #42151C |
|---|---|
| RGB | rgb(66, 21, 28) |
| HSL | hsl(351, 52%, 17%) |
| HSV | hsv(351, 68%, 26%) |
| CMYK | cmyk(0%, 68.2%, 57.6%, 74.1%) |
| CIE-LAB | lab(14.28, 22.50, 6.52) |
| CIE-LCH | lch(14.28, 23.43, 16.15°) |
| OKLab | oklab(26.98% 0.0679 0.0165) |
| OKLCH | oklch(26.98% 0.07 13.7) |
| XYZ | xyz(2.7247, 1.7788, 1.2982) |
| Luminance | 0.0178 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.05
Deep Brown
#410200
ΔE00 6.72
Mahogany
#4A0100
ΔE00 8.22
Dried Blood
#4B0101
ΔE00 8.22
Burgundy (survey)
#610023
ΔE00 8.24
Maroon (survey)
#650021
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42151C #15423B
analogous
#421533 #42151C #422515
triadic
#42151C #1C4215 #151C42
tetradic
#42151C #334215 #15423B #251542
square
#42151C #334215 #15423B #251542
split-complementary
#42151C #154225 #153342
monochromatic
#17070A #17070A #42151C #702430 #9F3343
Accessibility & contrast
On white
15.49
#42151C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#42151C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42151C
15.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42151C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42151C | 1.00 | 15.49 | 1.36 | 15.49 |
| #FFFFFF | 15.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F1E1C
Deuteranopia (green-blind)
#2B281B
Tritanopia (blue-blind)
#490E18
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #42151c; /* rgb */ color: rgb(66, 21, 28); /* oklch */ color: oklch(27.0% 0.070 13.7);
Tailwind
colors: {
custom: {
50: '#7a5557',
500: '#42151c',
950: '#000000',
},
}SCSS
$custom: #42151c; $custom-light: #7a5557; $custom-dark: #000000;
JSON
{
"hex": "#42151c",
"rgb": {
"r": 66,
"g": 21,
"b": 28
},
"hsl": {
"h": 350.667,
"s": 51.724,
"l": 17.059
},
"oklch": {
"l": 0.2698,
"c": 0.06991,
"h": 13.7
},
"luminance": 0.01778
}Semantic roles & 50–950 ramp
primary
#42151C
secondary
#397A70
accent
#DBC54D
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878