Color #2a1422
A muted very dark magenta.
Conversions
#2a1422
rgb(42, 20, 34)
hsl(321.8, 35.5%, 12.2%)
hsv(321.8, 52.4%, 16.5%)
cmyk(0%, 52.4%, 19%, 83.5%)
lab(9.86, 13.77, -4.89)
lch(9.86, 14.61, 340.45)
oklch(22.8%, 0.0426, 342.25)
hwb(321.8, 7.8%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (17.19:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#22221f · ΔE 16.9
Deuteranopia
#23251e · ΔE 21.1
Tritanopia
#291d1c · ΔE 9.5
Achromatopsia
#1b1b1b · ΔE 14.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a1422;
bg-[#2a1422]
Related colors
Frequently asked questions
#2a1422 (#2a1422) is rgb(42, 20, 34) in RGB.
No, #2a1422 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 #2a1422, or check how it holds up for accessibility.