Skip to content
Kolorvia
#c42796

Color #c42796

A moderately saturated medium magenta.

Conversions

HEX
#c42796
RGB
rgb(196, 39, 150)
HSL
hsl(317.6, 66.8%, 46.1%)
HSV / HSB
hsv(317.6, 80.1%, 76.9%)
CMYK
cmyk(0%, 80.1%, 23.5%, 23.1%)
LAB
lab(46.17, 68.64, -23.38)
LCH
lch(46.17, 72.51, 341.19)
OKLCH
oklch(56.5%, 0.2165, 343.2)
HWB
hwb(317.6, 15.3%, 23.1%)

Harmony colors

Complementary

#27c455

Analogous

#a427c4
#c42796
#c42747

Triadic

#c42796
#96c427
#2796c4

Split-complementary

#c42796
#47c427
#27c4a4

Tetradic

#c42796
#c45527
#27c455
#2796c4

Square

#c42796
#c4a427
#27c455
#2747c4

Shades

Color #c42796 mixed toward black.

#a3217d
#831a64
#62144b
#410d32
#210719

Tints

Color #c42796 mixed toward white.

#d940ac
#e166bd
#e88ccd
#f0b3de
#f7d9ee

Tones

Color #c42796 mixed toward gray.

#b73491
#aa418b
#9d4e86
#905b80
#83687b

Accessibility

Aa White text on this color
5.15:1
Aa Black text on this color
4.08:1

White text reads better on this background (5.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#9a9985 · ΔE 44.3

Deuteranopia

#a0a881 · ΔE 56.1

Tritanopia

#c07672 · ΔE 25.1

Achromatopsia

#6d6d6d · ΔE 27.7

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #c42796;
Tailwind (arbitrary value)
bg-[#c42796]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#c42796 (#c42796) is rgb(196, 39, 150) in RGB.

No, #c42796 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #c42796, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.