#5B2140#5B2140
#5B2140 is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.5% C 0.093 H 349.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5B2140 |
|---|---|
| RGB | rgb(91, 33, 64) |
| HSL | hsl(328, 47%, 24%) |
| HSV | hsv(328, 64%, 36%) |
| CMYK | cmyk(0%, 63.7%, 29.7%, 64.3%) |
| CIE-LAB | lab(22.59, 30.32, -6.28) |
| CIE-LCH | lch(22.59, 30.96, 348.30°) |
| OKLab | oklab(34.49% 0.0918 -0.0164) |
| OKLCH | oklch(34.49% 0.093 349.9) |
| XYZ | xyz(5.7839, 3.6826, 5.2557) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.56
Grape Purple
#5D1451
ΔE00 7.02
Velvet
#750851
ΔE00 7.26
Merlot
#730039
ΔE00 7.42
Grape
#6C3461
ΔE00 7.90
Dark Plum
#3F012C
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B2140 #215B3C
analogous
#59215B #5B2140 #5B2123
triadic
#5B2140 #405B21 #21405B
tetradic
#5B2140 #5B5921 #215B3C #21235B
square
#5B2140 #5B5921 #215B3C #21235B
split-complementary
#5B2140 #235B21 #215B59
monochromatic
#160810 #2E1120 #5B2140 #883160 #B5427F
Accessibility & contrast
On white
12.09
#5B2140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#5B2140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B2140
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B2140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B2140 | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283041
Deuteranopia (green-blind)
#383A3F
Tritanopia (blue-blind)
#621F2D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #5b2140; /* rgb */ color: rgb(91, 33, 64); /* oklch */ color: oklch(34.5% 0.093 349.9);
Tailwind
colors: {
custom: {
50: '#8c6074',
500: '#5b2140',
950: '#000000',
},
}SCSS
$custom: #5b2140; $custom-light: #8c6074; $custom-dark: #000000;
JSON
{
"hex": "#5b2140",
"rgb": {
"r": 91,
"g": 33,
"b": 64
},
"hsl": {
"h": 327.931,
"s": 46.774,
"l": 24.314
},
"oklch": {
"l": 0.34493,
"c": 0.09327,
"h": 349.9
},
"luminance": 0.03682
}Semantic roles & 50–950 ramp
primary
#5B2140
secondary
#498F69
accent
#D68F51
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0508
muted
#7D797B