Skip to content
Kolorvia
#5f173b

Color #5f173b

A moderately saturated dark pink.

Conversions

HEX
#5f173b
RGB
rgb(95, 23, 59)
HSL
hsl(330, 61%, 23.1%)
HSV / HSB
hsv(330, 75.8%, 37.3%)
CMYK
cmyk(0%, 75.8%, 37.9%, 62.7%)
LAB
lab(21.44, 35.65, -4.49)
LCH
lch(21.44, 35.93, 352.82)
OKLCH
oklch(33.7%, 0.1098, 354.04)
HWB
hwb(330, 9%, 62.7%)

Harmony colors

Complementary

#175f3b

Analogous

#5f175f
#5f173b
#5f1717

Triadic

#5f173b
#3b5f17
#173b5f

Split-complementary

#5f173b
#175f17
#175f5f

Tetradic

#5f173b
#5f3b17
#175f3b
#173b5f

Square

#5f173b
#5f5f17
#175f3b
#17175f

Shades

Color #5f173b mixed toward black.

#4f1331
#3f0f27
#2f0b1d
#200814
#10040a

Tints

Color #5f173b mixed toward white.

#93245c
#c8307c
#d9619d
#e696be
#f2cade

Tones

Color #5f173b mixed toward gray.

#591d3b
#53233b
#4d293b
#472f3b
#41353b

Accessibility

Aa White text on this color
12.56:1
Aa Black text on this color
1.67:1

White text reads better on this background (12.56:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#4a4a35 · ΔE 34.8

Deuteranopia

#4d5133 · ΔE 39.3

Tritanopia

#5d2f2e · ΔE 12.4

Achromatopsia

#333333 · ΔE 23.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #5f173b;
Tailwind (arbitrary value)
bg-[#5f173b]

Related colors

Hot Pink #ff69b4
Deep Pink #ff1493
Medium Violet Red #c71585
Lavender Blush #fff0f5
Pale Violet Red #db7093
Crimson #dc143c

Frequently asked questions

#5f173b (#5f173b) is rgb(95, 23, 59) in RGB.

No, #5f173b is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #5f173b, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.