#CD238C color
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 | |
|---|---|---|
| RGB | rgb(205, 35, 140) | |
| RGB percent | rgb(80.4%, 13.7%, 54.9%) | |
| HSL | hsl(323, 71%, 47%) | |
| HSV / HSB | hsv(323, 83%, 80%) | |
| CMYK | cmyk(0%, 83%, 32%, 20%) | |
| CIE LAB | lab(47.08, 70.48, -15.81) | |
| CIE LCH | lch(47.08, 72.23, 347.36) | |
| CIE XYZ | xyz(30.513, 16.078, 26.302) | |
| Decimal | 13443980 | |
| Short hex | None (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 #CD238C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.21:1 | Fail | Fail | Pass |
| Sample text | 4.98:1 | Pass | Fail | Pass |
| #CD238C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.98:1 | Pass | Fail | Pass |
| Sample text | 4.21:1 | Fail | Fail | Pass |
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.
#435d8fProtanopia
no red cones#757a88Deuteranopia
no green cones#dc1357Tritanopia
no blue cones#707070Achromatopsia
no color vision
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); }
Similar colors
#cc3388Shrine of Pleasures#c71585Medium Violet Red#c11c84Rrosy-Fingered Dawn#dd1188Benevolent Pink#bb3381Very Berry#b53389Fandango#cc0077Bottom of My Heart#e0218aBarbie Pink
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.