Color #1e181c
A nearly neutral, gray-leaning very dark magenta.
Conversions
#1e181c
rgb(30, 24, 28)
hsl(320, 11.1%, 10.6%)
hsv(320, 20%, 11.8%)
cmyk(0%, 20%, 6.7%, 88.2%)
lab(9.1, 3.93, -1.69)
lch(9.1, 4.28, 336.73)
oklch(21.8%, 0.0121, 338.11)
hwb(320, 9.4%, 88.2%)
Harmony colors
Accessibility
White text reads better on this background (17.46:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1b1b · ΔE 4.8
Deuteranopia
#1c1c1b · ΔE 6.1
Tritanopia
#1e1a1a · ΔE 3.3
Achromatopsia
#1a1a1a · ΔE 5.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1e181c;
bg-[#1e181c]
Related colors
Frequently asked questions
#1e181c (#1e181c) is rgb(30, 24, 28) in RGB.
No, #1e181c 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 #1e181c, or check how it holds up for accessibility.