#D99EC8 color
The hex color #D99EC8 is a light, desaturated magenta.
In the RGB color model it is made of 85.1% red, 62% green and 78.4% blue (217, 158, 200).
Its hue angle is 317°, with 44% saturation and 74% lightness. For print, the CMYK equivalent is 0% cyan, 27% magenta, 8% yellow and 15% black.
The closest named color is Pastel Lavender (#D8A1C4), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.68:1).
#D99EC8 color codes
| HEX | #D99EC8 | |
|---|---|---|
| RGB | rgb(217, 158, 200) | |
| RGB percent | rgb(85.1%, 62%, 78.4%) | |
| HSL | hsl(317, 44%, 74%) | |
| HSV / HSB | hsv(317, 27%, 85%) | |
| CMYK | cmyk(0%, 27%, 8%, 15%) | |
| CIE LAB | lab(71.81, 28.51, -12.85) | |
| CIE LCH | lch(71.81, 31.28, 335.74) | |
| CIE XYZ | xyz(51.267, 43.378, 60.305) | |
| Decimal | 14261960 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D99EC8, 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 #D99EC8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.68:1 | Pass | Pass | Pass |
| Sample text | 2.17:1 | Fail | Fail | Fail |
| #D99EC8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.17:1 | Fail | Fail | Fail |
| Sample text | 9.68: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 #D99EC8 looks to people with the most common types of color vision deficiency.
#9fabcaProtanopia
no red cones#adb3c6Deuteranopia
no green cones#e09facTritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
CSS examples
.background { background-color: #d99ec8; }
.text { color: #d99ec8; }
.border { border: 2px solid #d99ec8; }
.transparent { background-color: rgb(217 158 200 / 50%); }
.gradient { background: linear-gradient(to right, #d99ec8, #d99eab); }
Similar colors
#d8a1c4Pastel Lavender#d39bcbGirl Power#e89bc7Sultan of Pink#d49ab9Sweet Perfume#d39ed2Velvet Horizon#cb99c9Pastel Violet#e3abcePink Bliss#f0a0d1Violet Kiss
Closest common color name: Lilac.
Questions
- What color is #D99EC8?
- #D99EC8 is a light, desaturated magenta, closest to the named color Pastel Lavender. It belongs to the pink family of colors.
- What is the RGB value of #D99EC8?
- The RGB value is 217, 158, 200: 217 red, 158 green and 200 blue on a 0 to 255 scale.
- What is the complementary color of #D99EC8?
- The complementary color is #9ED9AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D99EC8?
- Black text. Black text has a contrast ratio of 9.68:1 and white text 2.17:1. WCAG asks for at least 4.5:1 for normal text.