Color #271626
A muted very dark magenta.
Conversions
#271626
rgb(39, 22, 38)
hsl(303.5, 27.9%, 12%)
hsv(303.5, 43.6%, 15.3%)
cmyk(0%, 43.6%, 2.6%, 84.7%)
lab(10.15, 11.97, -7.48)
lch(10.15, 14.11, 328)
oklch(23%, 0.0392, 328.79)
hwb(303.5, 8.6%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (17.09:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#212123 · ΔE 12.6
Deuteranopia
#222322 · ΔE 15.4
Tritanopia
#26201f · ΔE 11.5
Achromatopsia
#1c1c1c · ΔE 13.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #271626;
bg-[#271626]
Related colors
Frequently asked questions
#271626 (#271626) is rgb(39, 22, 38) in RGB.
No, #271626 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 #271626, or check how it holds up for accessibility.