#4D172F#4D172F
#4D172F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.086 H 356.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4D172F |
|---|---|
| RGB | rgb(77, 23, 47) |
| HSL | hsl(333, 54%, 20%) |
| HSV | hsv(333, 70%, 30%) |
| CMYK | cmyk(0%, 70.1%, 39%, 69.8%) |
| CIE-LAB | lab(17.44, 28.02, -2.39) |
| CIE-LCH | lch(17.44, 28.12, 355.13°) |
| OKLab | oklab(29.95% 0.0856 -0.0059) |
| OKLCH | oklch(29.95% 0.086 356) |
| XYZ | xyz(3.8803, 2.3962, 2.9469) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 6.33
Plum (survey)
#580F41
ΔE00 6.36
Aubergine
#3D0734
ΔE00 7.89
Burgundy (survey)
#610023
ΔE00 8.01
Merlot
#730039
ΔE00 8.48
Eggplant
#380835
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D172F #174D35
analogous
#4D174A #4D172F #4D1A17
triadic
#4D172F #2F4D17 #172F4D
tetradic
#4D172F #4A4D17 #174D35 #1A174D
square
#4D172F #4A4D17 #174D35 #1A174D
split-complementary
#4D172F #174D1A #174A4D
monochromatic
#18070E #1E0912 #4D172F #7C254C #AB3369
Accessibility & contrast
On white
14.20
#4D172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#4D172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D172F
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D172F | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202430
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#531321
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #4d172f; /* rgb */ color: rgb(77, 23, 47); /* oklch */ color: oklch(30.0% 0.086 356.0);
Tailwind
colors: {
custom: {
50: '#825867',
500: '#4d172f',
950: '#000000',
},
}SCSS
$custom: #4d172f; $custom-light: #825867; $custom-dark: #000000;
JSON
{
"hex": "#4d172f",
"rgb": {
"r": 77,
"g": 23,
"b": 47
},
"hsl": {
"h": 333.333,
"s": 54,
"l": 19.608
},
"oklch": {
"l": 0.29953,
"c": 0.08578,
"h": 356
},
"luminance": 0.02396
}Semantic roles & 50–950 ramp
primary
#4D172F
secondary
#3C8464
accent
#DD9C4A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A