Color #30171b
A muted very dark red.
Conversions
#30171b
rgb(48, 23, 27)
hsl(350.4, 35.2%, 13.9%)
hsv(350.4, 52.1%, 18.8%)
cmyk(0%, 52.1%, 43.8%, 81.2%)
lab(11.42, 13.17, 2.75)
lch(11.42, 13.45, 11.79)
oklch(24.1%, 0.0406, 10.37)
hwb(350.4, 9%, 81.2%)
Harmony colors
Accessibility
White text reads better on this background (16.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#27271a · ΔE 20.4
Deuteranopia
#282a1a · ΔE 22.9
Tritanopia
#2f1919 · ΔE 2.5
Achromatopsia
#1e1e1e · ΔE 13.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #30171b;
bg-[#30171b]
Related colors
Frequently asked questions
#30171b (#30171b) is rgb(48, 23, 27) in RGB.
No, #30171b 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 #30171b, or check how it holds up for accessibility.