#331A2A#331A2A
#331A2A is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.9% C 0.047 H 342.0°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).
Color values
| HEX | #331A2A |
|---|---|
| RGB | rgb(51, 26, 42) |
| HSL | hsl(322, 32%, 15%) |
| HSV | hsv(322, 49%, 20%) |
| CMYK | cmyk(0%, 49%, 17.6%, 80%) |
| CIE-LAB | lab(13.29, 15.21, -5.48) |
| CIE-LCH | lch(13.29, 16.17, 340.20°) |
| OKLab | oklab(25.86% 0.0447 -0.0145) |
| OKLCH | oklch(25.86% 0.047 342) |
| XYZ | xyz(2.1526, 1.6099, 2.3874) |
| Luminance | 0.0161 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Aubergine
#3D0734
ΔE00 8.95
Eggplant
#380835
ΔE00 9.03
Dark Plum
#3F012C
ΔE00 9.10
Very Dark Brown
#1D0200
ΔE00 10.55
Plum (survey)
#580F41
ΔE00 11.38
Eggplant Purple
#430541
ΔE00 11.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#331A2A #1A3323
analogous
#301A33 #331A2A #331A1D
triadic
#331A2A #2A331A #1A2A33
tetradic
#331A2A #33301A #1A3323 #1A1D33
square
#331A2A #33301A #1A3323 #1A1D33
split-complementary
#331A2A #1D331A #1A3330
monochromatic
#140A11 #140A11 #331A2A #5C2F4B #84436D
Accessibility & contrast
On white
15.89
#331A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#331A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #331A2A
15.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##331A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##331A2A | 1.00 | 15.89 | 1.32 | 15.89 |
| #FFFFFF | 15.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B202B
Deuteranopia (green-blind)
#222429
Tritanopia (blue-blind)
#361A20
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #331a2a; /* rgb */ color: rgb(51, 26, 42); /* oklch */ color: oklch(25.9% 0.047 342.0);
Tailwind
colors: {
custom: {
50: '#6b5763',
500: '#331a2a',
950: '#000000',
},
}SCSS
$custom: #331a2a; $custom-light: #6b5763; $custom-dark: #000000;
JSON
{
"hex": "#331a2a",
"rgb": {
"r": 51,
"g": 26,
"b": 42
},
"hsl": {
"h": 321.6,
"s": 32.468,
"l": 15.098
},
"oklch": {
"l": 0.25855,
"c": 0.04704,
"h": 342
},
"luminance": 0.0161
}Semantic roles & 50–950 ramp
primary
#331A2A
secondary
#41684F
accent
#C9855F
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#070305
muted
#7A7879