#42051F#42051F
#42051F is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.093 H 1.3°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).
Color values
| HEX | #42051F |
|---|---|
| RGB | rgb(66, 5, 31) |
| HSL | hsl(334, 86%, 14%) |
| HSV | hsv(334, 92%, 26%) |
| CMYK | cmyk(0%, 92.4%, 53%, 74.1%) |
| CIE-LAB | lab(11.73, 30.13, 0.67) |
| CIE-LCH | lch(11.73, 30.14, 1.28°) |
| OKLab | oklab(25.12% 0.0926 0.0021) |
| OKLCH | oklch(25.12% 0.093 1.3) |
| XYZ | xyz(2.5486, 1.3661, 1.4255) |
| Luminance | 0.0137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 6.35
Dark Maroon
#3C0008
ΔE00 6.75
Burgundy (survey)
#610023
ΔE00 7.47
Aubergine
#3D0734
ΔE00 8.83
Maroon (survey)
#650021
ΔE00 8.91
Plum (survey)
#580F41
ΔE00 8.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42051F #054228
analogous
#42053E #42051F #420A05
triadic
#42051F #1F4205 #051F42
tetradic
#42051F #3E4205 #054228 #0A0542
square
#42051F #3E4205 #054228 #0A0542
split-complementary
#42051F #05420A #053E42
monochromatic
#1C020D #1C020D #42051F #7B093A #B40E54
Accessibility & contrast
On white
16.49
#42051F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#42051F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42051F
16.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42051F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42051F | 1.00 | 16.49 | 1.27 | 16.49 |
| #FFFFFF | 16.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#141720
Deuteranopia (green-blind)
#25231E
Tritanopia (blue-blind)
#490011
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #42051f; /* rgb */ color: rgb(66, 5, 31); /* oklch */ color: oklch(25.1% 0.093 1.3);
Tailwind
colors: {
custom: {
50: '#7a4d5a',
500: '#42051f',
950: '#000000',
},
}SCSS
$custom: #42051f; $custom-light: #7a4d5a; $custom-dark: #000000;
JSON
{
"hex": "#42051f",
"rgb": {
"r": 66,
"g": 5,
"b": 31
},
"hsl": {
"h": 334.426,
"s": 85.915,
"l": 13.922
},
"oklch": {
"l": 0.2512,
"c": 0.09264,
"h": 1.3
},
"luminance": 0.01366
}Semantic roles & 50–950 ramp
primary
#42051F
secondary
#208259
accent
#FCA32C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878