#CD238C color

#CD238C rgb(205, 35, 140)
Shades of pink

The hex color #CD238C is a moderate rose.

In the RGB color model it is made of 80.4% red, 13.7% green and 54.9% blue (205, 35, 140).

Its hue angle is 323°, with 71% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 83% magenta, 32% yellow and 20% black.

The closest named color is Shrine of Pleasures (#CC3388), a difference of 2.2 ΔE, a small difference.

White text is the more readable choice on this background (contrast 4.98:1).

#CD238C color codes

HEX#CD238C
RGBrgb(205, 35, 140)
RGB percentrgb(80.4%, 13.7%, 54.9%)
HSLhsl(323, 71%, 47%)
HSV / HSBhsv(323, 83%, 80%)
CMYKcmyk(0%, 83%, 32%, 20%)
CIE LABlab(47.08, 70.48, -15.81)
CIE LCHlch(47.08, 72.23, 347.36)
CIE XYZxyz(30.513, 16.078, 26.302)
Decimal13443980
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #CD238C, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #CD238CRatioAAAAAAA large
Sample text4.21:1FailFailPass
Sample text4.98:1PassFailPass
#CD238C as text onRatioAAAAAAA large
Sample text4.98:1PassFailPass
Sample text4.21:1FailFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #CD238C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #cd238c; }
.text { color: #cd238c; }
.border { border: 2px solid #cd238c; }
.transparent { background-color: rgb(205 35 140 / 50%); }
.gradient { background: linear-gradient(to right, #cd238c, #cd2337); }
Background
Text color
Border

Similar colors

Questions

What color is #CD238C?
#CD238C is a moderate rose, closest to the named color Shrine of Pleasures. It belongs to the pink family of colors.
What is the RGB value of #CD238C?
The RGB value is 205, 35, 140: 205 red, 35 green and 140 blue on a 0 to 255 scale.
What is the complementary color of #CD238C?
The complementary color is #23CD64, found by rotating the hue 180° on the color wheel.
Is black or white text better on #CD238C?
White text. Black text has a contrast ratio of 4.21:1 and white text 4.98:1. WCAG asks for at least 4.5:1 for normal text.