#3A152F#3A152F
#3A152F is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.070 H 340.4°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3A152F |
|---|---|
| RGB | rgb(58, 21, 47) |
| HSL | hsl(318, 47%, 15%) |
| HSV | hsv(318, 64%, 23%) |
| CMYK | cmyk(0%, 63.8%, 19%, 77.3%) |
| CIE-LAB | lab(13.48, 22.15, -8.71) |
| CIE-LCH | lch(13.48, 23.80, 338.53°) |
| OKLab | oklab(26.32% 0.0655 -0.0233) |
| OKLCH | oklch(26.32% 0.07 340.4) |
| XYZ | xyz(2.5262, 1.6413, 2.8725) |
| Luminance | 0.0164 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Aubergine
#3D0734
ΔE00 4.83
Dark Plum
#3F012C
ΔE00 5.08
Eggplant
#380835
ΔE00 5.29
Plum (survey)
#580F41
ΔE00 7.65
Eggplant Purple
#430541
ΔE00 7.71
Dark Purple
#35063E
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A152F #153A20
analogous
#32153A #3A152F #3A151C
triadic
#3A152F #2F3A15 #152F3A
tetradic
#3A152F #3A3215 #153A20 #151C3A
square
#3A152F #3A3215 #153A20 #151C3A
split-complementary
#3A152F #1C3A15 #153A32
monochromatic
#160812 #160812 #3A152F #672553 #943678
Accessibility & contrast
On white
15.81
#3A152F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#3A152F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A152F
15.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A152F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A152F | 1.00 | 15.81 | 1.33 | 15.81 |
| #FFFFFF | 15.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#21252E
Tritanopia (blue-blind)
#3E161F
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #3a152f; /* rgb */ color: rgb(58, 21, 47); /* oklch */ color: oklch(26.3% 0.070 340.4);
Tailwind
colors: {
custom: {
50: '#725467',
500: '#3a152f',
950: '#000000',
},
}SCSS
$custom: #3a152f; $custom-light: #725467; $custom-dark: #000000;
JSON
{
"hex": "#3a152f",
"rgb": {
"r": 58,
"g": 21,
"b": 47
},
"hsl": {
"h": 317.838,
"s": 46.835,
"l": 15.49
},
"oklch": {
"l": 0.26317,
"c": 0.06952,
"h": 340.4
},
"luminance": 0.01641
}Semantic roles & 50–950 ramp
primary
#3A152F
secondary
#39714A
accent
#D67951
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#080306
muted
#7B787A