Color #310e18
A moderately saturated very dark pink.
Conversions
#310e18
rgb(49, 14, 24)
hsl(342.9, 55.6%, 12.4%)
hsv(342.9, 71.4%, 19.2%)
cmyk(0%, 71.4%, 51%, 80.8%)
lab(9.26, 18.94, 1.96)
lch(9.26, 19.04, 5.91)
oklch(22.5%, 0.0579, 5.25)
hwb(342.9, 5.5%, 80.8%)
Harmony colors
Accessibility
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
#262616 · ΔE 26
Deuteranopia
#282a15 · ΔE 28.9
Tritanopia
#301414 · ΔE 4.9
Achromatopsia
#1a1a1a · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #310e18;
bg-[#310e18]
Related colors
Frequently asked questions
#310e18 (#310e18) is rgb(49, 14, 24) in RGB.
No, #310e18 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 #310e18, or check how it holds up for accessibility.