#4C172E#4C172E
#4C172E is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.084 H 356.6°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4C172E |
|---|---|
| RGB | rgb(76, 23, 46) |
| HSL | hsl(334, 54%, 19%) |
| HSV | hsv(334, 70%, 30%) |
| CMYK | cmyk(0%, 69.7%, 39.5%, 70.2%) |
| CIE-LAB | lab(17.21, 27.52, -2.04) |
| CIE-LCH | lch(17.21, 27.59, 355.76°) |
| OKLab | oklab(29.73% 0.0841 -0.005) |
| OKLCH | oklch(29.73% 0.084 356.6) |
| XYZ | xyz(3.7802, 2.3470, 2.8382) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 6.44
Plum (survey)
#580F41
ΔE00 6.68
Burgundy (survey)
#610023
ΔE00 8.00
Aubergine
#3D0734
ΔE00 8.02
Merlot
#730039
ΔE00 8.71
Eggplant
#380835
ΔE00 9.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C172E #174C35
analogous
#4C1749 #4C172E #4C1B17
triadic
#4C172E #2E4C17 #172E4C
tetradic
#4C172E #494C17 #174C35 #1B174C
square
#4C172E #494C17 #174C35 #1B174C
split-complementary
#4C172E #174C1B #17494C
monochromatic
#17070E #1D0912 #4C172E #7B254A #AA3367
Accessibility & contrast
On white
14.29
#4C172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#4C172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C172E
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C172E | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20242F
Deuteranopia (green-blind)
#2E2E2D
Tritanopia (blue-blind)
#521320
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4c172e; /* rgb */ color: rgb(76, 23, 46); /* oklch */ color: oklch(29.7% 0.084 356.6);
Tailwind
colors: {
custom: {
50: '#815866',
500: '#4c172e',
950: '#000000',
},
}SCSS
$custom: #4c172e; $custom-light: #815866; $custom-dark: #000000;
JSON
{
"hex": "#4c172e",
"rgb": {
"r": 76,
"g": 23,
"b": 46
},
"hsl": {
"h": 333.962,
"s": 53.535,
"l": 19.412
},
"oklch": {
"l": 0.29733,
"c": 0.0842,
"h": 356.6
},
"luminance": 0.02347
}Semantic roles & 50–950 ramp
primary
#4C172E
secondary
#3C8364
accent
#DD9E4B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A