#D12CE3 color
The hex color #D12CE3 is a moderate magenta.
In the RGB color model it is made of 82% red, 17.3% green and 89% blue (209, 44, 227).
Its hue angle is 294°, with 77% saturation and 53% lightness. For print, the CMYK equivalent is 8% cyan, 81% magenta, 0% yellow and 11% black.
The closest named color is Piercing Pink (#DD00EE), a difference of 2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.18:1).
#D12CE3 color codes
| HEX | #D12CE3 | |
|---|---|---|
| RGB | rgb(209, 44, 227) | |
| RGB percent | rgb(82%, 17.3%, 89%) | |
| HSL | hsl(294, 77%, 53%) | |
| HSV / HSB | hsv(294, 81%, 89%) | |
| CMYK | cmyk(8%, 81%, 0%, 11%) | |
| CIE LAB | lab(52.85, 81.22, -57.56) | |
| CIE LCH | lch(52.85, 99.55, 324.68) | |
| CIE XYZ | xyz(41.059, 20.905, 74.531) | |
| Decimal | 13708515 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D12CE3, 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 #D12CE3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.18:1 | Pass | Fail | Pass |
| Sample text | 4.05:1 | Fail | Fail | Pass |
| #D12CE3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.05:1 | Fail | Fail | Pass |
| Sample text | 5.18: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 #D12CE3 looks to people with the most common types of color vision deficiency.
#0072e8Protanopia
no red cones#5084dfDeuteranopia
no green cones#d4538aTritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #d12ce3; }
.text { color: #d12ce3; }
.border { border: 2px solid #d12ce3; }
.transparent { background-color: rgb(209 44 227 / 50%); }
.gradient { background: linear-gradient(to right, #d12ce3, #e32c9a); }
Similar colors
#dd00eePiercing Pink#dd11ddDrunk-Tank Pink#cc00eeTrippy Velvet#dd00ffPsychedelic Purple#dd11ffPinkman#dd22ffCotton Candy Explosions#cc22ffFlirtatious Flamingo#cc33ffFlamingo Queen
Closest common color name: Medium Orchid.
Questions
- What color is #D12CE3?
- #D12CE3 is a moderate magenta, closest to the named color Piercing Pink. It belongs to the purple family of colors.
- What is the RGB value of #D12CE3?
- The RGB value is 209, 44, 227: 209 red, 44 green and 227 blue on a 0 to 255 scale.
- What is the complementary color of #D12CE3?
- The complementary color is #3EE32C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D12CE3?
- Black text. Black text has a contrast ratio of 5.18:1 and white text 4.05:1. WCAG asks for at least 4.5:1 for normal text.