#D817CC color
The hex color #D817CC is a vivid magenta.
In the RGB color model it is made of 84.7% red, 9% green and 80% blue (216, 23, 204).
Its hue angle is 304°, with 81% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 89% magenta, 6% yellow and 15% black.
The closest named color is Awkward Purple (#D208CC), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 4.91:1).
#D817CC color codes
| HEX | #D817CC | |
|---|---|---|
| RGB | rgb(216, 23, 204) | |
| RGB percent | rgb(84.7%, 9%, 80%) | |
| HSL | hsl(304, 81%, 47%) | |
| HSV / HSB | hsv(304, 89%, 85%) | |
| CMYK | cmyk(0%, 89%, 6%, 15%) | |
| CIE LAB | lab(51.35, 82.89, -46.75) | |
| CIE LCH | lch(51.35, 95.17, 330.58) | |
| CIE XYZ | xyz(39.524, 19.575, 58.812) | |
| Decimal | 14161868 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D817CC, 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 #D817CC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.91:1 | Pass | Fail | Pass |
| Sample text | 4.27:1 | Fail | Fail | Pass |
| #D817CC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.27:1 | Fail | Fail | Pass |
| Sample text | 4.91: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 #D817CC looks to people with the most common types of color vision deficiency.
#006ad0Protanopia
no red cones#6283c8Deuteranopia
no green cones#e13b79Tritanopia
no blue cones#7a7a7aAchromatopsia
no color vision
CSS examples
.background { background-color: #d817cc; }
.text { color: #d817cc; }
.border { border: 2px solid #d817cc; }
.transparent { background-color: rgb(216 23 204 / 50%); }
.gradient { background: linear-gradient(to right, #d817cc, #d8176c); }
Similar colors
#d208ccAwkward Purple#dd11ddDrunk-Tank Pink#cc11bbExplosive Purple#ee00ccFerocious Flamingo#ee00ddVice City#d92fb4Loudicious Pink#dd00eePiercing Pink#c920b0Mystifying Magenta
Closest common color name: Medium Orchid.
Questions
- What color is #D817CC?
- #D817CC is a vivid magenta, closest to the named color Awkward Purple. It belongs to the purple family of colors.
- What is the RGB value of #D817CC?
- The RGB value is 216, 23, 204: 216 red, 23 green and 204 blue on a 0 to 255 scale.
- What is the complementary color of #D817CC?
- The complementary color is #17D823, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D817CC?
- Black text. Black text has a contrast ratio of 4.91:1 and white text 4.27:1. WCAG asks for at least 4.5:1 for normal text.