Color #310915
A moderately saturated very dark pink.
Conversions
#310915
rgb(49, 9, 21)
hsl(342, 69%, 11.4%)
hsv(342, 81.6%, 19.2%)
cmyk(0%, 81.6%, 57.1%, 80.8%)
lab(8.15, 21.3, 2.55)
lch(8.15, 21.45, 6.83)
oklch(21.7%, 0.0654, 6.23)
hwb(342, 3.5%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (17.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252513 · ΔE 27.8
Deuteranopia
#272912 · ΔE 30.5
Tritanopia
#301110 · ΔE 5.5
Achromatopsia
#181818 · ΔE 18.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #310915;
bg-[#310915]
Related colors
Frequently asked questions
#310915 (#310915) is rgb(49, 9, 21) in RGB.
No, #310915 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 #310915, or check how it holds up for accessibility.