Skip to content
Kolorvia
#cd40b4

Color #cd40b4

A moderately saturated medium magenta.

Conversions

HEX
#cd40b4
RGB
rgb(205, 64, 180)
HSL
hsl(310.6, 58.5%, 52.7%)
HSV / HSB
hsv(310.6, 68.8%, 80.4%)
CMYK
cmyk(0%, 68.8%, 12.2%, 19.6%)
LAB
lab(51.77, 67.1, -32.3)
LCH
lch(51.77, 74.47, 334.3)
OKLCH
oklch(61.3%, 0.2151, 335.85)
HWB
hwb(310.6, 25.1%, 19.6%)

Harmony colors

Complementary

#40cd59

Analogous

#9f40cd
#cd40b4
#cd406d

Triadic

#cd40b4
#b4cd40
#40b4cd

Split-complementary

#cd40b4
#6dcd40
#40cd9f

Tetradic

#cd40b4
#cd5940
#40cd59
#40b4cd

Square

#cd40b4
#cd9f40
#40cd59
#406dcd

Shades

Color #cd40b4 mixed toward black.

#b22e9a
#8e257b
#6b1c5d
#47133e
#24091f

Tints

Color #cd40b4 mixed toward white.

#d560c1
#de80cd
#e69fda
#eebfe6
#f7dff3

Tones

Color #cd40b4 mixed toward gray.

#c14cac
#b557a5
#aa639d
#9e6f96
#927b8e

Accessibility

Aa White text on this color
4.21:1
Aa Black text on this color
4.99:1

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

Under color vision deficiencies

Protanopia

#a3a2a1 · ΔE 31.4

Deuteranopia

#aab29d · ΔE 48.7

Tritanopia

#c9908c · ΔE 27.5

Achromatopsia

#7b7b7b · ΔE 28

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

Code

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

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#cd40b4 (#cd40b4) is rgb(205, 64, 180) in RGB.

No, #cd40b4 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 #cd40b4, 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.