#42151F#42151F
#42151F is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.1% C 0.070 H 9.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).
Color values
| HEX | #42151F |
|---|---|
| RGB | rgb(66, 21, 31) |
| HSL | hsl(347, 52%, 17%) |
| HSV | hsv(347, 68%, 26%) |
| CMYK | cmyk(0%, 68.2%, 53%, 74.1%) |
| CIE-LAB | lab(14.37, 22.84, 4.44) |
| CIE-LCH | lch(14.37, 23.27, 11.01°) |
| OKLab | oklab(27.07% 0.0693 0.0115) |
| OKLCH | oklch(27.07% 0.07 9.4) |
| XYZ | xyz(2.7625, 1.7938, 1.4968) |
| Luminance | 0.0179 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.75
Deep Brown
#410200
ΔE00 7.96
Burgundy (survey)
#610023
ΔE00 8.13
Maroon (survey)
#650021
ΔE00 8.95
Dried Blood
#4B0101
ΔE00 9.48
Mahogany
#4A0100
ΔE00 9.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42151F #154238
analogous
#421536 #42151F #422215
triadic
#42151F #1F4215 #151F42
tetradic
#42151F #364215 #154238 #221542
square
#42151F #364215 #154238 #221542
split-complementary
#42151F #154222 #153642
monochromatic
#17070B #17070B #42151F #702435 #9F334B
Accessibility & contrast
On white
15.45
#42151F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#42151F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42151F
15.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42151F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42151F | 1.00 | 15.45 | 1.36 | 15.45 |
| #FFFFFF | 15.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F1F1F
Deuteranopia (green-blind)
#2A281E
Tritanopia (blue-blind)
#480F19
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #42151f; /* rgb */ color: rgb(66, 21, 31); /* oklch */ color: oklch(27.1% 0.070 9.4);
Tailwind
colors: {
custom: {
50: '#79555a',
500: '#42151f',
950: '#000000',
},
}SCSS
$custom: #42151f; $custom-light: #79555a; $custom-dark: #000000;
JSON
{
"hex": "#42151f",
"rgb": {
"r": 66,
"g": 21,
"b": 31
},
"hsl": {
"h": 346.667,
"s": 51.724,
"l": 17.059
},
"oklch": {
"l": 0.27071,
"c": 0.07029,
"h": 9.4
},
"luminance": 0.01794
}Semantic roles & 50–950 ramp
primary
#42151F
secondary
#397A6B
accent
#DBBB4D
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878