#3A042C#3A042C
#3A042C is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.0% C 0.095 H 341.2°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3A042C |
|---|---|
| RGB | rgb(58, 4, 44) |
| HSL | hsl(316, 87%, 12%) |
| HSV | hsv(316, 93%, 23%) |
| CMYK | cmyk(0%, 93.1%, 24.1%, 77.3%) |
| CIE-LAB | lab(10.32, 29.96, -11.38) |
| CIE-LCH | lch(10.32, 32.05, 339.19°) |
| OKLab | oklab(23.96% 0.09 -0.0307) |
| OKLCH | oklch(23.96% 0.095 341.2) |
| XYZ | xyz(2.2430, 1.1685, 2.4898) |
| Luminance | 0.0117 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 1.50
Aubergine
#3D0734
ΔE00 2.07
Eggplant
#380835
ΔE00 3.23
Eggplant Purple
#430541
ΔE00 5.44
Plum (survey)
#580F41
ΔE00 6.55
Dark Purple
#35063E
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A042C #043A12
analogous
#2D043A #3A042C #3A0411
triadic
#3A042C #2C3A04 #042C3A
tetradic
#3A042C #3A2D04 #043A12 #04113A
square
#3A042C #3A2D04 #043A12 #04113A
split-complementary
#3A042C #113A04 #043A2D
monochromatic
#1D0216 #1D0216 #3A042C #730857 #AD0C83
Accessibility & contrast
On white
17.02
#3A042C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#3A042C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A042C
17.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A042C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A042C | 1.00 | 17.02 | 1.23 | 17.02 |
| #FFFFFF | 17.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08172D
Deuteranopia (green-blind)
#1B1F2B
Tritanopia (blue-blind)
#3E0517
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #3a042c; /* rgb */ color: rgb(58, 4, 44); /* oklch */ color: oklch(24.0% 0.095 341.2);
Tailwind
colors: {
custom: {
50: '#734b65',
500: '#3a042c',
950: '#000000',
},
}SCSS
$custom: #3a042c; $custom-light: #734b65; $custom-dark: #000000;
JSON
{
"hex": "#3a042c",
"rgb": {
"r": 58,
"g": 4,
"b": 44
},
"hsl": {
"h": 315.556,
"s": 87.097,
"l": 12.157
},
"oklch": {
"l": 0.2396,
"c": 0.09509,
"h": 341.2
},
"luminance": 0.01168
}Semantic roles & 50–950 ramp
primary
#3A042C
secondary
#1E7C36
accent
#FD612B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080105
muted
#7B777A