#D781C9 color
The hex color #D781C9 is a light, moderate magenta.
In the RGB color model it is made of 84.3% red, 50.6% green and 78.8% blue (215, 129, 201).
Its hue angle is 310°, with 52% saturation and 67% lightness. For print, the CMYK equivalent is 0% cyan, 40% magenta, 7% yellow and 16% black.
The closest named color is Pink Punk (#D983BD), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.87:1).
#D781C9 color codes
| HEX | #D781C9 | |
|---|---|---|
| RGB | rgb(215, 129, 201) | |
| RGB percent | rgb(84.3%, 50.6%, 78.8%) | |
| HSL | hsl(310, 52%, 67%) | |
| HSV / HSB | hsv(310, 40%, 84%) | |
| CMYK | cmyk(0%, 40%, 7%, 16%) | |
| CIE LAB | lab(65.25, 43.52, -23.36) | |
| CIE LCH | lch(65.25, 49.39, 331.77) | |
| CIE XYZ | xyz(46.417, 34.367, 59.436) | |
| Decimal | 14123465 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D781C9, 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 #D781C9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.87:1 | Pass | Pass | Pass |
| Sample text | 2.67:1 | Fail | Fail | Fail |
| #D781C9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.67:1 | Fail | Fail | Fail |
| Sample text | 7.87:1 | Pass | Pass | 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 #D781C9 looks to people with the most common types of color vision deficiency.
#8097ccProtanopia
no red cones#96a3c6Deuteranopia
no green cones#de869cTritanopia
no blue cones#9e9e9eAchromatopsia
no color vision
CSS examples
.background { background-color: #d781c9; }
.text { color: #d781c9; }
.border { border: 2px solid #d781c9; }
.transparent { background-color: rgb(215 129 201 / 50%); }
.gradient { background: linear-gradient(to right, #d781c9, #d7819e); }
Similar colors
#d983bdPink Punk#da70d6Orchid#da70d6Pink Orchid#eb94daLove Dust#f092d6Bubblegum Kisses#bf8fc4Violaceous#ee88eeFrail Fuchsia#f887c7Bubblegum Beam
Questions
- What color is #D781C9?
- #D781C9 is a light, moderate magenta, closest to the named color Pink Punk. It belongs to the purple family of colors.
- What is the RGB value of #D781C9?
- The RGB value is 215, 129, 201: 215 red, 129 green and 201 blue on a 0 to 255 scale.
- What is the complementary color of #D781C9?
- The complementary color is #81D78F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D781C9?
- Black text. Black text has a contrast ratio of 7.87:1 and white text 2.67:1. WCAG asks for at least 4.5:1 for normal text.