Skip to content
Kolorvia
#2a171b

Color #2a171b

A muted very dark red.

Conversions

HEX
#2a171b
RGB
rgb(42, 23, 27)
HSL
hsl(347.4, 29.2%, 12.7%)
HSV / HSB
hsv(347.4, 45.2%, 16.5%)
CMYK
cmyk(0%, 45.2%, 35.7%, 83.5%)
LAB
lab(10.44, 10.3, 1.22)
LCH
lch(10.44, 10.37, 6.76)
OKLCH
oklch(23.2%, 0.0314, 6.04)
HWB
hwb(347.4, 9%, 83.5%)

Harmony colors

Complementary

#172a26

Analogous

#2a1724
#2a171b
#2a1c17

Triadic

#2a171b
#1b2a17
#171b2a

Split-complementary

#2a171b
#172a1c
#17242a

Tetradic

#2a171b
#2a2617
#172a26
#171b2a

Square

#2a171b
#242a17
#172a26
#1c172a

Shades

Color #2a171b mixed toward black.

#231316
#1c0f12
#150b0d
#0e0809
#070404

Tints

Color #2a171b mixed toward white.

#5a313a
#8a4b59
#b06f7d
#ca9fa8
#e5cfd4

Tones

Color #2a171b mixed toward gray.

#28191c
#271a1d
#251c1e
#241d1f
#221f1f

Accessibility

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

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

Under color vision deficiencies

Protanopia

#23231a · ΔE 16.5

Deuteranopia

#24251a · ΔE 18.1

Tritanopia

#291919 · ΔE 2.8

Achromatopsia

#1c1c1c · ΔE 11.5

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

Code

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

Related colors

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

Frequently asked questions

#2a171b (#2a171b) is rgb(42, 23, 27) in RGB.

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