Color #2a181e
A muted very dark pink.
Conversions
#2a181e
rgb(42, 24, 30)
hsl(340, 27.3%, 12.9%)
hsv(340, 42.9%, 16.5%)
cmyk(0%, 42.9%, 28.6%, 83.5%)
lab(10.84, 10.15, -0.43)
lch(10.84, 10.16, 357.57)
oklch(23.5%, 0.0305, 358.12)
hwb(340, 9.4%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (16.83:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#23231d · ΔE 15.1
Deuteranopia
#24261c · ΔE 18.6
Tritanopia
#291c1b · ΔE 5
Achromatopsia
#1d1d1d · ΔE 11.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a181e;
bg-[#2a181e]
Related colors
Frequently asked questions
#2a181e (#2a181e) is rgb(42, 24, 30) in RGB.
No, #2a181e 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 #2a181e, or check how it holds up for accessibility.