Skip to content
Kolorvia
#2a171d

Color #2a171d

A muted very dark pink.

Conversions

HEX
#2a171d
RGB
rgb(42, 23, 29)
HSL
hsl(341.1, 29.2%, 12.7%)
HSV / HSB
hsv(341.1, 45.2%, 16.5%)
CMYK
cmyk(0%, 45.2%, 31%, 83.5%)
LAB
lab(10.51, 10.67, -0.17)
LCH
lch(10.51, 10.67, 359.09)
OKLCH
oklch(23.3%, 0.0322, 359.47)
HWB
hwb(341.1, 9%, 83.5%)

Harmony colors

Complementary

#172a24

Analogous

#2a1726
#2a171d
#2a1a17

Triadic

#2a171d
#1d2a17
#171d2a

Split-complementary

#2a171d
#172a1a
#17262a

Tetradic

#2a171d
#2a2417
#172a24
#171d2a

Square

#2a171d
#262a17
#172a24
#1a172a

Shades

Color #2a171d mixed toward black.

#231318
#1c0f13
#150b0e
#0e080a
#070405

Tints

Color #2a171d mixed toward white.

#5a313e
#8a4b5f
#b06f84
#ca9fad
#e5cfd6

Tones

Color #2a171d mixed toward gray.

#28191d
#271a1e
#251c1f
#241d1f
#221f20

Accessibility

Aa White text on this color
16.95:1
Aa Black text on this color
1.24:1

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

Under color vision deficiencies

Protanopia

#23231c · ΔE 16.1

Deuteranopia

#24251b · ΔE 18.4

Tritanopia

#291b1a · ΔE 4.9

Achromatopsia

#1c1c1c · ΔE 11.8

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

Code

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

Related colors

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

Frequently asked questions

#2a171d (#2a171d) is rgb(42, 23, 29) in RGB.

No, #2a171d 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 #2a171d, 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.