#42082C#42082C
#42082C is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.095 H 347.9°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).
Color values
| HEX | #42082C |
|---|---|
| RGB | rgb(66, 8, 44) |
| HSL | hsl(323, 78%, 15%) |
| HSV | hsv(323, 88%, 26%) |
| CMYK | cmyk(0%, 87.9%, 33.3%, 74.1%) |
| CIE-LAB | lab(12.70, 30.51, -7.58) |
| CIE-LCH | lch(12.70, 31.44, 346.06°) |
| OKLab | oklab(26% 0.0931 -0.02) |
| OKLCH | oklch(26% 0.095 347.9) |
| XYZ | xyz(2.7884, 1.5141, 2.5278) |
| Luminance | 0.0151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 1.94
Aubergine
#3D0734
ΔE00 4.04
Plum (survey)
#580F41
ΔE00 5.48
Eggplant
#380835
ΔE00 5.51
Eggplant Purple
#430541
ΔE00 7.03
Deep Violet
#490648
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42082C #08421E
analogous
#3B0842 #42082C #42080F
triadic
#42082C #2C4208 #082C42
tetradic
#42082C #423B08 #08421E #080F42
square
#42082C #423B08 #08421E #080F42
split-complementary
#42082C #0F4208 #08423B
monochromatic
#1B0312 #1B0312 #42082C #790F50 #AF1575
Accessibility & contrast
On white
16.12
#42082C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#42082C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42082C
16.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42082C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42082C | 1.00 | 16.12 | 1.30 | 16.12 |
| #FFFFFF | 16.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#111B2D
Deuteranopia (green-blind)
#22252B
Tritanopia (blue-blind)
#470619
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #42082c; /* rgb */ color: rgb(66, 8, 44); /* oklch */ color: oklch(26.0% 0.095 347.9);
Tailwind
colors: {
custom: {
50: '#794f65',
500: '#42082c',
950: '#000000',
},
}SCSS
$custom: #42082c; $custom-light: #794f65; $custom-dark: #000000;
JSON
{
"hex": "#42082c",
"rgb": {
"r": 66,
"g": 8,
"b": 44
},
"hsl": {
"h": 322.759,
"s": 78.378,
"l": 14.51
},
"oklch": {
"l": 0.26003,
"c": 0.09523,
"h": 347.9
},
"luminance": 0.01514
}Semantic roles & 50–950 ramp
primary
#42082C
secondary
#258048
accent
#F57C33
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090205
muted
#7B787A