#D740D1 color
The hex color #D740D1 is a moderate magenta.
In the RGB color model it is made of 84.3% red, 25.1% green and 82% blue (215, 64, 209).
Its hue angle is 302°, with 65% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 70% magenta, 3% yellow and 16% black.
The closest named color is Drunk-Tank Pink (#DD11DD), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.54:1).
#D740D1 color codes
| HEX | #D740D1 | |
|---|---|---|
| RGB | rgb(215, 64, 209) | |
| RGB percent | rgb(84.3%, 25.1%, 82%) | |
| HSL | hsl(302, 65%, 55%) | |
| HSV / HSB | hsv(302, 70%, 84%) | |
| CMYK | cmyk(0%, 70%, 3%, 16%) | |
| CIE LAB | lab(54.78, 73.81, -44.19) | |
| CIE LCH | lch(54.78, 86.03, 329.09) | |
| CIE XYZ | xyz(41.366, 22.72, 62.516) | |
| Decimal | 14106833 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D740D1, 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 #D740D1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.54:1 | Pass | Fail | Pass |
| Sample text | 3.79:1 | Fail | Fail | Pass |
| #D740D1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.79:1 | Fail | Fail | Pass |
| Sample text | 5.54: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 #D740D1 looks to people with the most common types of color vision deficiency.
#2e76d5Protanopia
no red cones#6b8acdDeuteranopia
no green cones#df5484Tritanopia
no blue cones#838383Achromatopsia
no color vision
CSS examples
.background { background-color: #d740d1; }
.text { color: #d740d1; }
.border { border: 2px solid #d740d1; }
.transparent { background-color: rgb(215 64 209 / 50%); }
.gradient { background: linear-gradient(to right, #d740d1, #d74086); }
Similar colors
#dd11ddDrunk-Tank Pink#ee00ddVice City#ef1de7Pink Pride#ee00ccFerocious Flamingo#ed24edMagenta Fizz#bb55ccLove Priestess#f504c9Mademoiselle Pink#ba55d3Medium Orchid
Questions
- What color is #D740D1?
- #D740D1 is a moderate magenta, closest to the named color Drunk-Tank Pink. It belongs to the purple family of colors.
- What is the RGB value of #D740D1?
- The RGB value is 215, 64, 209: 215 red, 64 green and 209 blue on a 0 to 255 scale.
- What is the complementary color of #D740D1?
- The complementary color is #40D746, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D740D1?
- Black text. Black text has a contrast ratio of 5.54:1 and white text 3.79:1. WCAG asks for at least 4.5:1 for normal text.