#4F172D#4F172D
#4F172D is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.2% C 0.087 H 359.5°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4F172D |
|---|---|
| RGB | rgb(79, 23, 45) |
| HSL | hsl(336, 55%, 20%) |
| HSV | hsv(336, 71%, 31%) |
| CMYK | cmyk(0%, 70.9%, 43%, 69%) |
| CIE-LAB | lab(17.76, 28.47, -0.45) |
| CIE-LCH | lch(17.76, 28.48, 359.09°) |
| OKLab | oklab(30.24% 0.0871 -0.0008) |
| OKLCH | oklch(30.24% 0.087 359.5) |
| XYZ | xyz(4.0048, 2.4650, 2.7470) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.95
Plum (survey)
#580F41
ΔE00 7.22
Dark Plum
#3F012C
ΔE00 7.29
Merlot
#730039
ΔE00 8.04
Maroon (survey)
#650021
ΔE00 8.32
Aubergine
#3D0734
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F172D #174F39
analogous
#4F1749 #4F172D #4F1D17
triadic
#4F172D #2D4F17 #172D4F
tetradic
#4F172D #494F17 #174F39 #1D174F
square
#4F172D #494F17 #174F39 #1D174F
split-complementary
#4F172D #174F1D #17494F
monochromatic
#18070D #200912 #4F172D #7E2548 #AE3363
Accessibility & contrast
On white
14.07
#4F172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#4F172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F172D
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F172D | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21252E
Deuteranopia (green-blind)
#302F2C
Tritanopia (blue-blind)
#561120
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #4f172d; /* rgb */ color: rgb(79, 23, 45); /* oklch */ color: oklch(30.2% 0.087 359.5);
Tailwind
colors: {
custom: {
50: '#835865',
500: '#4f172d',
950: '#000000',
},
}SCSS
$custom: #4f172d; $custom-light: #835865; $custom-dark: #000000;
JSON
{
"hex": "#4f172d",
"rgb": {
"r": 79,
"g": 23,
"b": 45
},
"hsl": {
"h": 336.429,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.30239,
"c": 0.08706,
"h": 359.5
},
"luminance": 0.02465
}Semantic roles & 50–950 ramp
primary
#4F172D
secondary
#3C8669
accent
#DEA44A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A