Color #7c1942
A moderately saturated dark pink.
Conversions
#7c1942
rgb(124, 25, 66)
hsl(335.2, 66.4%, 29.2%)
hsv(335.2, 79.8%, 48.6%)
cmyk(0%, 79.8%, 46.8%, 51.4%)
lab(27.78, 44.51, 0.74)
lch(27.78, 44.52, 0.95)
oklch(39.5%, 0.1367, 1.01)
hwb(335.2, 9.8%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (10.12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#61603b · ΔE 40.5
Deuteranopia
#656a39 · ΔE 46.1
Tritanopia
#793533 · ΔE 12.2
Achromatopsia
#424242 · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7c1942;
bg-[#7c1942]
Related colors
Frequently asked questions
#7c1942 (#7c1942) is rgb(124, 25, 66) in RGB.
No, #7c1942 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 #7c1942, or check how it holds up for accessibility.