#D298DF color
The hex color #D298DF is a light, moderate magenta.
In the RGB color model it is made of 82.4% red, 59.6% green and 87.5% blue (210, 152, 223).
Its hue angle is 289°, with 53% saturation and 74% lightness. For print, the CMYK equivalent is 6% cyan, 32% magenta, 0% yellow and 13% black.
The closest named color is Somewhere in a Fairytale (#CC99DD), a difference of 1.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.3:1).
#D298DF color codes
| HEX | #D298DF | |
|---|---|---|
| RGB | rgb(210, 152, 223) | |
| RGB percent | rgb(82.4%, 59.6%, 87.5%) | |
| HSL | hsl(289, 53%, 74%) | |
| HSV / HSB | hsv(289, 32%, 87%) | |
| CMYK | cmyk(6%, 32%, 0%, 13%) | |
| CIE LAB | lab(70.52, 33.72, -27.55) | |
| CIE LCH | lch(70.52, 43.54, 320.74) | |
| CIE XYZ | xyz(51.124, 41.487, 75.112) | |
| Decimal | 13801695 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D298DF, 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 #D298DF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.3:1 | Pass | Pass | Pass |
| Sample text | 2.26:1 | Fail | Fail | Fail |
| #D298DF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.3: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 #D298DF looks to people with the most common types of color vision deficiency.
#90a8e2Protanopia
no red cones#9dafddDeuteranopia
no green cones#d3a0b2Tritanopia
no blue cones#acacacAchromatopsia
no color vision
CSS examples
.background { background-color: #d298df; }
.text { color: #d298df; }
.border { border: 2px solid #d298df; }
.transparent { background-color: rgb(210 152 223 / 50%); }
.gradient { background: linear-gradient(to right, #d298df, #df98c8); }
Similar colors
#cc99ddSomewhere in a Fairytale#c9a0dcWisteria#cc99eeDream Vapour#d39ed2Velvet Horizon#ee99eeDiva Mecha#cb99c9Pastel Violet#deadeaControlled Substance#bf8fc4Violaceous
Questions
- What color is #D298DF?
- #D298DF is a light, moderate magenta, closest to the named color Somewhere in a Fairytale. It belongs to the purple family of colors.
- What is the RGB value of #D298DF?
- The RGB value is 210, 152, 223: 210 red, 152 green and 223 blue on a 0 to 255 scale.
- What is the complementary color of #D298DF?
- The complementary color is #A5DF98, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D298DF?
- Black text. Black text has a contrast ratio of 9.3:1 and white text 2.26:1. WCAG asks for at least 4.5:1 for normal text.