Color #4e271c
A moderately saturated dark red.
Conversions
#4e271c
rgb(78, 39, 28)
hsl(13.2, 47.2%, 20.8%)
hsv(13.2, 64.1%, 30.6%)
cmyk(0%, 50%, 64.1%, 69.4%)
lab(20.65, 17.04, 15.33)
lch(20.65, 22.92, 41.98)
oklch(32.2%, 0.0618, 36.65)
hwb(13.2, 11%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (12.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#40401f · ΔE 23.7
Deuteranopia
#424520 · ΔE 25.6
Tritanopia
#4d2122 · ΔE 5.8
Achromatopsia
#323232 · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e271c;
bg-[#4e271c]
Related colors
Frequently asked questions
#4e271c (#4e271c) is rgb(78, 39, 28) in RGB.
No, #4e271c 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 #4e271c, or check how it holds up for accessibility.