#42151B#42151B
#42151B is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.0% C 0.070 H 15.1°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).
Color values
| HEX | #42151B |
|---|---|
| RGB | rgb(66, 21, 27) |
| HSL | hsl(352, 52%, 17%) |
| HSV | hsv(352, 68%, 26%) |
| CMYK | cmyk(0%, 68.2%, 59.1%, 74.1%) |
| CIE-LAB | lab(14.25, 22.40, 7.21) |
| CIE-LCH | lch(14.25, 23.53, 17.84°) |
| OKLab | oklab(26.95% 0.0675 0.0182) |
| OKLCH | oklch(26.95% 0.07 15.1) |
| XYZ | xyz(2.7130, 1.7740, 1.2363) |
| Luminance | 0.0177 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 4.90
Deep Brown
#410200
ΔE00 6.34
Mahogany
#4A0100
ΔE00 7.81
Dried Blood
#4B0101
ΔE00 7.82
Burgundy (survey)
#610023
ΔE00 8.34
Maroon (survey)
#650021
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42151B #15423C
analogous
#421532 #42151B #422615
triadic
#42151B #1B4215 #151B42
tetradic
#42151B #324215 #15423C #261542
square
#42151B #324215 #15423C #261542
split-complementary
#42151B #154226 #153242
monochromatic
#170709 #170709 #42151B #70242E #9F3341
Accessibility & contrast
On white
15.50
#42151B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#42151B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42151B
15.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42151B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42151B | 1.00 | 15.50 | 1.35 | 15.50 |
| #FFFFFF | 15.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F1E1B
Deuteranopia (green-blind)
#2B281A
Tritanopia (blue-blind)
#490E17
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #42151b; /* rgb */ color: rgb(66, 21, 27); /* oklch */ color: oklch(27.0% 0.070 15.1);
Tailwind
colors: {
custom: {
50: '#7a5557',
500: '#42151b',
950: '#000000',
},
}SCSS
$custom: #42151b; $custom-light: #7a5557; $custom-dark: #000000;
JSON
{
"hex": "#42151b",
"rgb": {
"r": 66,
"g": 21,
"b": 27
},
"hsl": {
"h": 352,
"s": 51.724,
"l": 17.059
},
"oklch": {
"l": 0.26951,
"c": 0.06986,
"h": 15.1
},
"luminance": 0.01774
}Semantic roles & 50–950 ramp
primary
#42151B
secondary
#397A71
accent
#DBC84D
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878