Skip to content
Kolorvia
#1f181d

Color #1f181d

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#1f181d
RGB
rgb(31, 24, 29)
HSL
hsl(317.1, 12.7%, 10.8%)
HSV / HSB
hsv(317.1, 22.6%, 12.2%)
CMYK
cmyk(0%, 22.6%, 6.5%, 87.8%)
LAB
lab(9.27, 4.65, -2.18)
LCH
lch(9.27, 5.14, 334.88)
OKLCH
oklch(22%, 0.0145, 336.44)
HWB
hwb(317.1, 9.4%, 87.8%)

Harmony colors

Complementary

#181f1a

Analogous

#1e181f
#1f181d
#1f181a

Triadic

#1f181d
#1d1f18
#181d1f

Split-complementary

#1f181d
#1a1f18
#181f1e

Tetradic

#1f181d
#1f1a18
#181f1a
#181d1f

Square

#1f181d
#1f1e18
#181f1a
#181a1f

Shades

Color #1f181d mixed toward black.

#1a1418
#151013
#100c0f
#0a080a
#050405

Tints

Color #1f181d mixed toward white.

#4a3945
#745a6d
#9c7f93
#bdaab7
#ded4db

Tones

Color #1f181d mixed toward gray.

#1e191d
#1e191d
#1d1a1c
#1d1a1c
#1c1b1c

Accessibility

Aa White text on this color
17.4:1
Aa Black text on this color
1.21:1

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

Under color vision deficiencies

Protanopia

#1c1c1c · ΔE 6.3

Deuteranopia

#1d1d1c · ΔE 7

Tritanopia

#1f1b1b · ΔE 4.2

Achromatopsia

#1a1a1a · ΔE 6.3

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

Code

CSS
background-color: #1f181d;
Tailwind (arbitrary value)
bg-[#1f181d]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#1f181d (#1f181d) is rgb(31, 24, 29) in RGB.

No, #1f181d 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 #1f181d, 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.