#4D172C#4D172C
#4D172C is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.8% C 0.084 H 359.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4D172C |
|---|---|
| RGB | rgb(77, 23, 44) |
| HSL | hsl(337, 54%, 20%) |
| HSV | hsv(337, 70%, 30%) |
| CMYK | cmyk(0%, 70.1%, 42.9%, 69.8%) |
| CIE-LAB | lab(17.33, 27.62, -0.41) |
| CIE-LCH | lch(17.33, 27.62, 359.15°) |
| OKLab | oklab(29.84% 0.0844 -0.0007) |
| OKLCH | oklch(29.84% 0.084 359.5) |
| XYZ | xyz(3.8218, 2.3729, 2.6391) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 7.22
Dark Plum
#3F012C
ΔE00 7.23
Plum (survey)
#580F41
ΔE00 7.47
Merlot
#730039
ΔE00 8.50
Maroon (survey)
#650021
ΔE00 8.56
Aubergine
#3D0734
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D172C #174D38
analogous
#4D1747 #4D172C #4D1D17
triadic
#4D172C #2C4D17 #172C4D
tetradic
#4D172C #474D17 #174D38 #1D174D
square
#4D172C #474D17 #174D38 #1D174D
split-complementary
#4D172C #174D1D #17474D
monochromatic
#18070D #1E0911 #4D172C #7C2547 #AB3362
Accessibility & contrast
On white
14.24
#4D172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#4D172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D172C
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D172C | 1.00 | 14.24 | 1.47 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21242D
Deuteranopia (green-blind)
#2F2E2B
Tritanopia (blue-blind)
#54121F
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #4d172c; /* rgb */ color: rgb(77, 23, 44); /* oklch */ color: oklch(29.8% 0.084 359.5);
Tailwind
colors: {
custom: {
50: '#825864',
500: '#4d172c',
950: '#000000',
},
}SCSS
$custom: #4d172c; $custom-light: #825864; $custom-dark: #000000;
JSON
{
"hex": "#4d172c",
"rgb": {
"r": 77,
"g": 23,
"b": 44
},
"hsl": {
"h": 336.667,
"s": 54,
"l": 19.608
},
"oklch": {
"l": 0.29837,
"c": 0.08441,
"h": 359.5
},
"luminance": 0.02372
}Semantic roles & 50–950 ramp
primary
#4D172C
secondary
#3C8468
accent
#DDA44A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A