Maroon Colors  ·  Color Library

Palettes / Colors / #CD238C

#CD238C — Pink

#CD238C is a pink color we call Pink, closest to the named color MediumVioletRed (#C71585). It belongs to the pink family.

Color name

Closest CSS keyword: mediumvioletred (#C71585) — not an exact match. CSS mediumvioletred gives you #C71585, a different color; use #CD238C when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#CD238C is a warm-leaning pink color associated with playfulness, romance and softness. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #23CD64; it also sits naturally between #B923CD and #CD2337. In the palettes below you can see it working alongside real color combinations from our collection.

#CD238C · RGB 205, 35, 140

Download PNG swatch SVG

Color values

HEX#CD238C
RGB205, 35, 140
HSL323°, 71%, 47%
HSV323°, 83%, 80%
CMYK0%, 83%, 32%, 20%
XYZ30.51, 16.07, 26.31
Yxy16.07, 0.4186, 0.2205
CIE-Lab47.07, 70.49, -15.82
Hunter Lab40.09, 68.90, -13.52

RGB & CMYK percentages

Red 80% · Green 14% · Blue 55%

Cyan 0% · Magenta 83% · Yellow 32% · Key 20%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #CD238C on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #CD238C on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #CD238C

.text { color: #CD238C; }
.background { background-color: #CD238C; }
.border { border: 3px solid #CD238C; }
.text-rgb { color: rgb(205, 35, 140); }
.text-hsl { color: hsl(323, 71%, 47%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CD238C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(205, 35, 140, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CD238C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(205, 35, 140, 0.8); }

HTML: <p style="color:#CD238C">Text here</p> · <div style="background-color:#CD238C">Div content here</div>

Shades of #CD238C

#BC2080#A61C71#941965#831659#71134D#5C103E#4A0D33#390A27#230618#11030C

Tints of #CD238C

#DC2E99#DF43A4#E359AE#E76FB9#EA85C3#ED96CC#F1ACD7#F5C2E1#F8D8EC#FCEEF6

Tones of #CD238C

#C12F89#B53B86#A94783#9C5480#90607D#846C7B

Color harmonies

Complementary — #23CD64:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.98:1 AA
Against black text4.21:1 AA large only

Best text color on #CD238C: #FFFFFF.

Semi-transparent (opacity) text on #CD238C

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #CD238C: ·

How #CD238C looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #838273Deuteranopia · #8D9A6DTritanopia · #C55F5A

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind pink 600 · #DB2777Material Pink 500 · #E91E63Tailwind pink 500 · #EC4899

Palettes with a similar color

These palettes use a close neighbour of #CD238C rather than the exact color:

Scarlet Ruby Summit
#21B255 · #63E274 · #C4248A · #E8A7D1
Amber Ruby Zephyr
#739A1A · #239ACE · #C52293 · #D3E7AA
Misty Ruby Opal
#F3C4E1 · #D954A7 · #D52593 · #97216B
Dusty Ruby Tempest
#5F2AD5 · #951AAD · #C61A88 · #B71D2E
Vintage Ruby Aurora
#2828B5 · #531F8D · #D858DF · #D62B8E
Dusty Ruby Bloom
#CC4AE0 · #D71C85 · #F0504E · #B87415

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#C4248A#C52293#D52593#C61A88#D62B8E#D71C85#D82894#BF1F8D#CD2A9A#CA3185#C52A80#BF2294

Browse neighbouring colors

← #CD238B  ·  #CD238D →

Frequently asked questions

What color is #CD238C?

#CD238C is Pink, a pink color (RGB 205, 35, 140). Its closest standard named color is MediumVioletRed.

What is the RGB and HSL of #CD238C?

#CD238C is RGB 205, 35, 140 — HSL 323°, 71%, 47% — CMYK 0%, 83%, 32%, 20%.

What colors go with #CD238C?

Its complement is #23CD64; analogous partners are #B923CD and #CD2337. It also appears in 6+ palettes in our collection.

Can I use #CD238C for text?

White text on #CD238C has a contrast ratio of 4.98:1 (passes WCAG AA); black text gives 4.21:1.