#50172C#50172C
#50172C is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.088 H 1.1°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #50172C |
|---|---|
| RGB | rgb(80, 23, 44) |
| HSL | hsl(338, 55%, 20%) |
| HSV | hsv(338, 71%, 31%) |
| CMYK | cmyk(0%, 71.2%, 45%, 68.6%) |
| CIE-LAB | lab(17.92, 28.71, 0.52) |
| CIE-LCH | lch(17.92, 28.71, 1.04°) |
| OKLab | oklab(30.39% 0.0878 0.0017) |
| OKLCH | oklch(30.39% 0.088 1.1) |
| XYZ | xyz(4.0696, 2.5006, 2.6507) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.43
Plum (survey)
#580F41
ΔE00 7.69
Maroon (survey)
#650021
ΔE00 7.76
Dark Plum
#3F012C
ΔE00 7.80
Merlot
#730039
ΔE00 7.88
Dark Maroon
#3C0008
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#50172C #17503B
analogous
#501748 #50172C #501F17
triadic
#50172C #2C5017 #172C50
tetradic
#50172C #485017 #17503B #1F1750
square
#50172C #485017 #17503B #1F1750
split-complementary
#50172C #17501F #174850
monochromatic
#18070D #200912 #50172C #802546 #AF3260
Accessibility & contrast
On white
14.00
#50172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#50172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #50172C
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##50172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##50172C | 1.00 | 14.00 | 1.50 | 14.00 |
| #FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22252D
Deuteranopia (green-blind)
#31302B
Tritanopia (blue-blind)
#57111F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #50172c; /* rgb */ color: rgb(80, 23, 44); /* oklch */ color: oklch(30.4% 0.088 1.1);
Tailwind
colors: {
custom: {
50: '#845864',
500: '#50172c',
950: '#000000',
},
}SCSS
$custom: #50172c; $custom-light: #845864; $custom-dark: #000000;
JSON
{
"hex": "#50172c",
"rgb": {
"r": 80,
"g": 23,
"b": 44
},
"hsl": {
"h": 337.895,
"s": 55.34,
"l": 20.196
},
"oklch": {
"l": 0.30385,
"c": 0.08779,
"h": 1.1
},
"luminance": 0.025
}Semantic roles & 50–950 ramp
primary
#50172C
secondary
#3C876B
accent
#DFA849
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A