#4C172F#4C172F
#4C172F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.8% C 0.085 H 355.4°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4C172F |
|---|---|
| RGB | rgb(76, 23, 47) |
| HSL | hsl(333, 54%, 19%) |
| HSV | hsv(333, 70%, 30%) |
| CMYK | cmyk(0%, 69.7%, 38.2%, 70.2%) |
| CIE-LAB | lab(17.25, 27.66, -2.70) |
| CIE-LCH | lch(17.25, 27.79, 354.43°) |
| OKLab | oklab(29.77% 0.0844 -0.0067) |
| OKLCH | oklch(29.77% 0.085 355.4) |
| XYZ | xyz(3.8002, 2.3549, 2.9432) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 6.16
Plum (survey)
#580F41
ΔE00 6.32
Aubergine
#3D0734
ΔE00 7.67
Burgundy (survey)
#610023
ΔE00 8.28
Merlot
#730039
ΔE00 8.73
Eggplant
#380835
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C172F #174C34
analogous
#4C174A #4C172F #4C1A17
triadic
#4C172F #2F4C17 #172F4C
tetradic
#4C172F #4A4C17 #174C34 #1A174C
square
#4C172F #4A4C17 #174C34 #1A174C
split-complementary
#4C172F #174C1A #174A4C
monochromatic
#17070F #1D0912 #4C172F #7B254C #AA3369
Accessibility & contrast
On white
14.28
#4C172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#4C172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C172F
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C172F | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202430
Deuteranopia (green-blind)
#2E2E2E
Tritanopia (blue-blind)
#521321
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4c172f; /* rgb */ color: rgb(76, 23, 47); /* oklch */ color: oklch(29.8% 0.085 355.4);
Tailwind
colors: {
custom: {
50: '#815867',
500: '#4c172f',
950: '#000000',
},
}SCSS
$custom: #4c172f; $custom-light: #815867; $custom-dark: #000000;
JSON
{
"hex": "#4c172f",
"rgb": {
"r": 76,
"g": 23,
"b": 47
},
"hsl": {
"h": 332.83,
"s": 53.535,
"l": 19.412
},
"oklch": {
"l": 0.29773,
"c": 0.0847,
"h": 355.4
},
"luminance": 0.02355
}Semantic roles & 50–950 ramp
primary
#4C172F
secondary
#3C8363
accent
#DD9B4B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A