Color #c828a8
A moderately saturated medium magenta.
Conversions
#c828a8
rgb(200, 40, 168)
hsl(312, 66.7%, 47.1%)
hsv(312, 80%, 78.4%)
cmyk(0%, 80%, 16%, 21.6%)
lab(47.79, 71.61, -31.55)
lch(47.79, 78.25, 336.22)
oklch(58%, 0.229, 337.99)
hwb(312, 15.7%, 21.6%)
Harmony colors
Accessibility
White text reads better on this background (4.86:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9d9c95 · ΔE 37.4
Deuteranopia
#a4ac90 · ΔE 53.3
Tritanopia
#c48480 · ΔE 27.9
Achromatopsia
#717171 · ΔE 28.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c828a8;
bg-[#c828a8]
Related colors
Frequently asked questions
#c828a8 (#c828a8) is rgb(200, 40, 168) in RGB.
No, #c828a8 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 #c828a8, or check how it holds up for accessibility.