Color #8a1a1a
A moderately saturated dark red.
Conversions
#8a1a1a
rgb(138, 26, 26)
hsl(0, 68.3%, 32.2%)
hsv(0, 81.2%, 54.1%)
cmyk(0%, 81.2%, 81.2%, 45.9%)
lab(29.96, 45.86, 30.29)
lch(29.96, 54.96, 33.44)
oklch(41.4%, 0.1474, 26.57)
hwb(0, 10.2%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (9.36:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#6c6b1a · ΔE 41
Deuteranopia
#70761a · ΔE 45.3
Tritanopia
#871a1a · ΔE 0.6
Achromatopsia
#474747 · ΔE 25.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a1a1a;
bg-[#8a1a1a]
Related colors
Frequently asked questions
#8a1a1a (#8a1a1a) is rgb(138, 26, 26) in RGB.
No, #8a1a1a is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #8a1a1a, or check how it holds up for accessibility.