Color #5a303a
A muted dark red.
Conversions
#5a303a
rgb(90, 48, 58)
hsl(345.7, 30.4%, 27.1%)
hsv(345.7, 46.7%, 35.3%)
cmyk(0%, 46.7%, 35.6%, 64.7%)
lab(25.54, 20.43, 2.12)
lch(25.54, 20.54, 5.92)
oklch(36.6%, 0.0623, 5.34)
hwb(345.7, 18.8%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (10.95:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4b4b38 · ΔE 27.7
Deuteranopia
#4d5037 · ΔE 31
Tritanopia
#583636 · ΔE 4.9
Achromatopsia
#3d3d3d · ΔE 18
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a303a;
bg-[#5a303a]
Related colors
Frequently asked questions
#5a303a (#5a303a) is rgb(90, 48, 58) in RGB.
No, #5a303a 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 #5a303a, or check how it holds up for accessibility.