Color #1f161c
A muted very dark magenta.
Conversions
#1f161c
rgb(31, 22, 28)
hsl(320, 17%, 10.4%)
hsv(320, 29%, 12.2%)
cmyk(0%, 29%, 9.7%, 87.8%)
lab(8.56, 5.91, -2.48)
lch(8.56, 6.41, 337.24)
oklch(21.4%, 0.0182, 338.78)
hwb(320, 8.6%, 87.8%)
Harmony colors
Accessibility
White text reads better on this background (17.65:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1b1b1b · ΔE 7.7
Deuteranopia
#1c1d1a · ΔE 10.5
Tritanopia
#1f1a19 · ΔE 5.7
Achromatopsia
#191919 · ΔE 7.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f161c;
bg-[#1f161c]
Related colors
Frequently asked questions
#1f161c (#1f161c) is rgb(31, 22, 28) in RGB.
No, #1f161c is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #1f161c, or check how it holds up for accessibility.