#4F173A#4F173A
#4F173A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.094 H 345.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4F173A |
|---|---|
| RGB | rgb(79, 23, 58) |
| HSL | hsl(323, 55%, 20%) |
| HSV | hsv(323, 71%, 31%) |
| CMYK | cmyk(0%, 70.9%, 26.6%, 69%) |
| CIE-LAB | lab(18.28, 30.32, -8.87) |
| CIE-LCH | lch(18.28, 31.59, 343.70°) |
| OKLab | oklab(30.8% 0.0915 -0.0235) |
| OKLCH | oklch(30.8% 0.094 345.6) |
| XYZ | xyz(4.2947, 2.5810, 4.2742) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.12
Dark Plum
#3F012C
ΔE00 4.90
Aubergine
#3D0734
ΔE00 5.31
Grape Purple
#5D1451
ΔE00 6.20
Eggplant
#380835
ΔE00 6.63
Eggplant Purple
#430541
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F173A #174F2C
analogous
#48174F #4F173A #4F171E
triadic
#4F173A #3A4F17 #173A4F
tetradic
#4F173A #4F4817 #174F2C #171E4F
square
#4F173A #4F4817 #174F2C #171E4F
split-complementary
#4F173A #1E4F17 #174F48
monochromatic
#180711 #200917 #4F173A #7E255D #AE3380
Accessibility & contrast
On white
13.85
#4F173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#4F173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F173A
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F173A | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D273B
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#551626
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #4f173a; /* rgb */ color: rgb(79, 23, 58); /* oklch */ color: oklch(30.8% 0.094 345.6);
Tailwind
colors: {
custom: {
50: '#835870',
500: '#4f173a',
950: '#000000',
},
}SCSS
$custom: #4f173a; $custom-light: #835870; $custom-dark: #000000;
JSON
{
"hex": "#4f173a",
"rgb": {
"r": 79,
"g": 23,
"b": 58
},
"hsl": {
"h": 322.5,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.30795,
"c": 0.09443,
"h": 345.6
},
"luminance": 0.02581
}Semantic roles & 50–950 ramp
primary
#4F173A
secondary
#3C8658
accent
#DE814A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A