#3A102F#3A102F
#3A102F is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.6% C 0.079 H 339.4°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3A102F |
|---|---|
| RGB | rgb(58, 16, 47) |
| HSL | hsl(316, 57%, 15%) |
| HSV | hsv(316, 72%, 23%) |
| CMYK | cmyk(0%, 72.4%, 19%, 77.3%) |
| CIE-LAB | lab(12.45, 24.93, -10.29) |
| CIE-LCH | lch(12.45, 26.97, 337.57°) |
| OKLab | oklab(25.56% 0.0738 -0.0277) |
| OKLCH | oklch(25.56% 0.079 339.4) |
| XYZ | xyz(2.4434, 1.4756, 2.8449) |
| Luminance | 0.0147 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Aubergine
#3D0734
ΔE00 3.22
Dark Plum
#3F012C
ΔE00 3.63
Eggplant
#380835
ΔE00 3.84
Eggplant Purple
#430541
ΔE00 6.36
Plum (survey)
#580F41
ΔE00 6.90
Dark Purple
#35063E
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A102F #103A1B
analogous
#30103A #3A102F #3A101A
triadic
#3A102F #2F3A10 #102F3A
tetradic
#3A102F #3A3010 #103A1B #101A3A
square
#3A102F #3A3010 #103A1B #101A3A
split-complementary
#3A102F #1A3A10 #103A30
monochromatic
#180713 #180713 #3A102F #6A1D56 #9A2A7D
Accessibility & contrast
On white
16.22
#3A102F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#3A102F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A102F
16.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A102F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A102F | 1.00 | 16.22 | 1.30 | 16.22 |
| #FFFFFF | 16.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#121C30
Deuteranopia (green-blind)
#1F232E
Tritanopia (blue-blind)
#3E111D
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #3a102f; /* rgb */ color: rgb(58, 16, 47); /* oklch */ color: oklch(25.6% 0.079 339.4);
Tailwind
colors: {
custom: {
50: '#725167',
500: '#3a102f',
950: '#000000',
},
}SCSS
$custom: #3a102f; $custom-light: #725167; $custom-dark: #000000;
JSON
{
"hex": "#3a102f",
"rgb": {
"r": 58,
"g": 16,
"b": 47
},
"hsl": {
"h": 315.714,
"s": 56.757,
"l": 14.51
},
"oklch": {
"l": 0.25559,
"c": 0.07882,
"h": 339.4
},
"luminance": 0.01475
}Semantic roles & 50–950 ramp
primary
#3A102F
secondary
#327443
accent
#E07048
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A