Color #8a0c21
A vivid, highly saturated dark red.
Conversions
#8a0c21
rgb(138, 12, 33)
hsl(350, 84%, 29.4%)
hsv(350, 91.3%, 54.1%)
cmyk(0%, 91.3%, 76.1%, 45.9%)
lab(28.84, 49.54, 24.72)
lch(28.84, 55.37, 26.52)
oklch(40.6%, 0.1556, 21.02)
hwb(350, 4.7%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (9.74:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#6b6a1d · ΔE 43.8
Deuteranopia
#6f751c · ΔE 48.3
Tritanopia
#871a19 · ΔE 4.2
Achromatopsia
#444444 · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a0c21;
bg-[#8a0c21]
Related colors
Frequently asked questions
#8a0c21 (#8a0c21) is rgb(138, 12, 33) in RGB.
No, #8a0c21 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 #8a0c21, or check how it holds up for accessibility.