Color #271d21
A nearly neutral, gray-leaning very dark pink.
Conversions
#271d21
rgb(39, 29, 33)
hsl(336, 14.7%, 13.3%)
hsv(336, 25.6%, 15.3%)
cmyk(0%, 25.6%, 15.4%, 84.7%)
lab(12.09, 5.73, -0.87)
lch(12.09, 5.8, 351.37)
oklch(24.4%, 0.0171, 352.63)
hwb(336, 11.4%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (16.36:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#232320 · ΔE 9.1
Deuteranopia
#242420 · ΔE 9.7
Tritanopia
#271f1f · ΔE 3
Achromatopsia
#202020 · ΔE 7.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #271d21;
bg-[#271d21]
Related colors
Frequently asked questions
#271d21 (#271d21) is rgb(39, 29, 33) in RGB.
No, #271d21 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 #271d21, or check how it holds up for accessibility.