Color #28181f
A muted very dark pink.
Conversions
#28181f
rgb(40, 24, 31)
hsl(333.8, 25%, 12.5%)
hsv(333.8, 40%, 15.7%)
cmyk(0%, 40%, 22.5%, 84.3%)
lab(10.58, 9.4, -1.6)
lch(10.58, 9.54, 350.34)
oklch(23.3%, 0.0283, 351.67)
hwb(333.8, 9.4%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (16.93:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#22221d · ΔE 14.1
Deuteranopia
#23241d · ΔE 16
Tritanopia
#271c1c · ΔE 5.1
Achromatopsia
#1d1d1d · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28181f;
bg-[#28181f]
Related colors
Frequently asked questions
#28181f (#28181f) is rgb(40, 24, 31) in RGB.
No, #28181f 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 #28181f, or check how it holds up for accessibility.