#4F172A#4F172A
#4F172A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.086 H 2.9°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).
Color values
| HEX | #4F172A |
|---|---|
| RGB | rgb(79, 23, 42) |
| HSL | hsl(340, 55%, 20%) |
| HSV | hsv(340, 71%, 31%) |
| CMYK | cmyk(0%, 70.9%, 46.8%, 69%) |
| CIE-LAB | lab(17.66, 28.10, 1.54) |
| CIE-LCH | lch(17.66, 28.14, 3.14°) |
| OKLab | oklab(30.13% 0.0858 0.0043) |
| OKLCH | oklch(30.13% 0.086 2.9) |
| XYZ | xyz(3.9490, 2.4427, 2.4536) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.23
Maroon (survey)
#650021
ΔE00 7.48
Dark Maroon
#3C0008
ΔE00 8.18
Merlot
#730039
ΔE00 8.24
Dark Plum
#3F012C
ΔE00 8.27
Plum (survey)
#580F41
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F172A #174F3C
analogous
#4F1746 #4F172A #4F2017
triadic
#4F172A #2A4F17 #172A4F
tetradic
#4F172A #464F17 #174F3C #20174F
square
#4F172A #464F17 #174F3C #20174F
split-complementary
#4F172A #174F20 #17464F
monochromatic
#18070D #200911 #4F172A #7E2543 #AE335C
Accessibility & contrast
On white
14.11
#4F172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#4F172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F172A
14.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F172A | 1.00 | 14.11 | 1.49 | 14.11 |
| #FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22242A
Deuteranopia (green-blind)
#312F29
Tritanopia (blue-blind)
#56101E
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #4f172a; /* rgb */ color: rgb(79, 23, 42); /* oklch */ color: oklch(30.1% 0.086 2.9);
Tailwind
colors: {
custom: {
50: '#845863',
500: '#4f172a',
950: '#000000',
},
}SCSS
$custom: #4f172a; $custom-light: #845863; $custom-dark: #000000;
JSON
{
"hex": "#4f172a",
"rgb": {
"r": 79,
"g": 23,
"b": 42
},
"hsl": {
"h": 339.643,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.3013,
"c": 0.08595,
"h": 2.9
},
"luminance": 0.02442
}Semantic roles & 50–950 ramp
primary
#4F172A
secondary
#3C866D
accent
#DEAC4A
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879