#CC5DBA color
The hex color #CC5DBA is a moderate magenta.
In the RGB color model it is made of 80% red, 36.5% green and 72.9% blue (204, 93, 186).
Its hue angle is 310°, with 52% saturation and 58% lightness. For print, the CMYK equivalent is 0% cyan, 54% magenta, 9% yellow and 20% black.
The closest named color is Barbiecore (#E15ACB), a difference of 4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.84:1).
#CC5DBA color codes
| HEX | #CC5DBA | |
|---|---|---|
| RGB | rgb(204, 93, 186) | |
| RGB percent | rgb(80%, 36.5%, 72.9%) | |
| HSL | hsl(310, 52%, 58%) | |
| HSV / HSB | hsv(310, 54%, 80%) | |
| CMYK | cmyk(0%, 54%, 9%, 20%) | |
| CIE LAB | lab(56.3, 55.66, -28.75) | |
| CIE LCH | lch(56.3, 62.64, 332.68) | |
| CIE XYZ | xyz(37.679, 24.214, 49.134) | |
| Decimal | 13393338 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CC5DBA, 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 #CC5DBA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.84:1 | Pass | Fail | Pass |
| Sample text | 3.59:1 | Fail | Fail | Pass |
| #CC5DBA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.59:1 | Fail | Fail | Pass |
| Sample text | 5.84:1 | Pass | 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 #CC5DBA looks to people with the most common types of color vision deficiency.
#5c7dbdProtanopia
no red cones#7d8db7Deuteranopia
no green cones#d56483Tritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #cc5dba; }
.text { color: #cc5dba; }
.border { border: 2px solid #cc5dba; }
.transparent { background-color: rgb(204 93 186 / 50%); }
.gradient { background: linear-gradient(to right, #cc5dba, #cc5d82); }
Similar colors
#e15acbBarbiecore#b86fc2Lavendless#ee55ccKinky Pinky#da70d6Orchid#da70d6Pink Orchid#bb55ccLove Priestess#ce6ba6Super Pink#d92fb4Loudicious Pink
Questions
- What color is #CC5DBA?
- #CC5DBA is a moderate magenta, closest to the named color Barbiecore. It belongs to the purple family of colors.
- What is the RGB value of #CC5DBA?
- The RGB value is 204, 93, 186: 204 red, 93 green and 186 blue on a 0 to 255 scale.
- What is the complementary color of #CC5DBA?
- The complementary color is #5DCC6F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CC5DBA?
- Black text. Black text has a contrast ratio of 5.84:1 and white text 3.59:1. WCAG asks for at least 4.5:1 for normal text.