Skip to content
Kolorvia
#2f171e

Color #2f171e

A muted very dark pink.

Conversions

HEX
#2f171e
RGB
rgb(47, 23, 30)
HSL
hsl(342.5, 34.3%, 13.7%)
HSV / HSB
hsv(342.5, 51.1%, 18.4%)
CMYK
cmyk(0%, 51.1%, 36.2%, 81.6%)
LAB
lab(11.35, 13.2, 0.41)
LCH
lch(11.35, 13.21, 1.78)
OKLCH
oklch(24.1%, 0.04, 1.72)
HWB
hwb(342.5, 9%, 81.6%)

Harmony colors

Complementary

#172f28

Analogous

#2f172a
#2f171e
#2f1c17

Triadic

#2f171e
#1e2f17
#171e2f

Split-complementary

#2f171e
#172f1c
#172a2f

Tetradic

#2f171e
#2f2817
#172f28
#171e2f

Square

#2f171e
#2a2f17
#172f28
#1c172f

Shades

Color #2f171e mixed toward black.

#271319
#1f0f14
#170b0f
#10080a
#080405

Tints

Color #2f171e mixed toward white.

#602f3d
#91475d
#b76b81
#cf9cab
#e7ced5

Tones

Color #2f171e mixed toward gray.

#2d191f
#2b1b20
#291d20
#271f21
#252122

Accessibility

Aa White text on this color
16.64:1
Aa Black text on this color
1.26:1

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

Under color vision deficiencies

Protanopia

#26261c · ΔE 19.7

Deuteranopia

#28291c · ΔE 21.8

Tritanopia

#2e1b1b · ΔE 4.4

Achromatopsia

#1e1e1e · ΔE 13.7

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

Code

CSS
background-color: #2f171e;
Tailwind (arbitrary value)
bg-[#2f171e]

Related colors

Pale Violet Red #db7093
Lavender Blush #fff0f5
Crimson #dc143c
Pink #ffc0cb
Light Pink #ffb6c1
Hot Pink #ff69b4

Frequently asked questions

#2f171e (#2f171e) is rgb(47, 23, 30) in RGB.

No, #2f171e is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #2f171e, 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.