Color #251128
A moderately saturated very dark magenta.
Conversions
#251128
rgb(37, 17, 40)
hsl(292.2, 40.4%, 11.2%)
hsv(292.2, 57.5%, 15.7%)
cmyk(7.5%, 57.5%, 0%, 84.3%)
lab(8.55, 15.18, -11.48)
lch(8.55, 19.03, 322.9)
oklch(21.8%, 0.0516, 322.24)
hwb(292.2, 6.7%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (17.65:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e24 · ΔE 13.3
Deuteranopia
#1f2023 · ΔE 15.3
Tritanopia
#24201f · ΔE 15.3
Achromatopsia
#191919 · ΔE 16.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #251128;
bg-[#251128]
Related colors
Frequently asked questions
#251128 (#251128) is rgb(37, 17, 40) in RGB.
No, #251128 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 #251128, or check how it holds up for accessibility.