Color #1f1b1c
A nearly neutral, gray-leaning very dark red.
Conversions
#1f1b1c
rgb(31, 27, 28)
hsl(345, 6.9%, 11.4%)
hsv(345, 12.9%, 12.2%)
cmyk(0%, 12.9%, 9.7%, 87.8%)
lab(10.25, 2.18, 0.02)
lch(10.25, 2.18, 0.53)
oklch(22.7%, 0.0065, 0.88)
hwb(345, 10.6%, 87.8%)
Harmony colors
Accessibility
White text reads better on this background (17.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1d1c · ΔE 3.5
Deuteranopia
#1e1e1c · ΔE 4.1
Tritanopia
#1f1c1c · ΔE 1.1
Achromatopsia
#1c1c1c · ΔE 3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f1b1c;
bg-[#1f1b1c]
Related colors
Frequently asked questions
#1f1b1c (#1f1b1c) is rgb(31, 27, 28) in RGB.
No, #1f1b1c 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 #1f1b1c, or check how it holds up for accessibility.