Color #c248a6
A moderately saturated medium magenta.
Conversions
#c248a6
rgb(194, 72, 166)
hsl(313.8, 50%, 52.2%)
hsv(313.8, 62.9%, 76.1%)
cmyk(0%, 62.9%, 14.4%, 23.9%)
lab(50.52, 59.09, -26.18)
lch(50.52, 64.63, 336.1)
oklch(59.8%, 0.1878, 337.85)
hwb(313.8, 28.2%, 23.9%)
Harmony colors
Accessibility
Black text reads better on this background (4.77:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9c9b96 · ΔE 32.9
Deuteranopia
#a2a992 · ΔE 47
Tritanopia
#be8884 · ΔE 25.1
Achromatopsia
#787878 · ΔE 26.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c248a6;
bg-[#c248a6]
Related colors
Frequently asked questions
#c248a6 (#c248a6) is rgb(194, 72, 166) in RGB.
No, #c248a6 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 #c248a6, or check how it holds up for accessibility.