#42151E#42151E
#42151E is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.0% C 0.070 H 10.9°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).
Color values
| HEX | #42151E |
|---|---|
| RGB | rgb(66, 21, 30) |
| HSL | hsl(348, 52%, 17%) |
| HSV | hsv(348, 68%, 26%) |
| CMYK | cmyk(0%, 68.2%, 54.5%, 74.1%) |
| CIE-LAB | lab(14.34, 22.73, 5.13) |
| CIE-LCH | lch(14.34, 23.30, 12.73°) |
| OKLab | oklab(27.04% 0.0689 0.0132) |
| OKLCH | oklch(27.04% 0.07 10.9) |
| XYZ | xyz(2.7495, 1.7886, 1.4285) |
| Luminance | 0.0179 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.48
Deep Brown
#410200
ΔE00 7.54
Burgundy (survey)
#610023
ΔE00 8.13
Maroon (survey)
#650021
ΔE00 8.86
Dried Blood
#4B0101
ΔE00 9.05
Mahogany
#4A0100
ΔE00 9.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42151E #154239
analogous
#421535 #42151E #422315
triadic
#42151E #1E4215 #151E42
tetradic
#42151E #354215 #154239 #231542
square
#42151E #354215 #154239 #231542
split-complementary
#42151E #154223 #153542
monochromatic
#17070B #17070B #42151E #702433 #9F3348
Accessibility & contrast
On white
15.47
#42151E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#42151E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42151E
15.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42151E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42151E | 1.00 | 15.47 | 1.36 | 15.47 |
| #FFFFFF | 15.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F1F1E
Deuteranopia (green-blind)
#2A281D
Tritanopia (blue-blind)
#480F18
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #42151e; /* rgb */ color: rgb(66, 21, 30); /* oklch */ color: oklch(27.0% 0.070 10.9);
Tailwind
colors: {
custom: {
50: '#795559',
500: '#42151e',
950: '#000000',
},
}SCSS
$custom: #42151e; $custom-light: #795559; $custom-dark: #000000;
JSON
{
"hex": "#42151e",
"rgb": {
"r": 66,
"g": 21,
"b": 30
},
"hsl": {
"h": 348,
"s": 51.724,
"l": 17.059
},
"oklch": {
"l": 0.2704,
"c": 0.07014,
"h": 10.9
},
"luminance": 0.01788
}Semantic roles & 50–950 ramp
primary
#42151E
secondary
#397A6D
accent
#DBBF4D
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878