Color #271f1f
A nearly neutral, gray-leaning very dark red.
Conversions
#271f1f
rgb(39, 31, 31)
hsl(0, 11.4%, 13.7%)
hsv(0, 20.5%, 15.3%)
cmyk(0%, 20.5%, 20.5%, 84.7%)
lab(12.67, 3.85, 1.44)
lch(12.67, 4.11, 20.51)
oklch(24.9%, 0.0124, 17.85)
hwb(0, 12.2%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (16.13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#24241f · ΔE 7.4
Deuteranopia
#24251f · ΔE 8.5
Tritanopia
#271f1f · ΔE 0
Achromatopsia
#212121 · ΔE 5.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #271f1f;
bg-[#271f1f]
Related colors
Frequently asked questions
#271f1f (#271f1f) is rgb(39, 31, 31) in RGB.
No, #271f1f 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 #271f1f, or check how it holds up for accessibility.