#D052D4
A color in the Purple, Crimson, Magenta family
#d052d4 is a color in the Purple, Crimson, Magenta family: RGB(208, 82, 212), HSL(298°, 60%, 58%), CMYK(2%, 61%, 0%, 17%). Closest named color: mediumorchid. Contrast is 3.6:1 on white and 5.84:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #d052d4 |
|---|---|
| RGB | rgb(208 82 212) |
| RGB (legacy) | rgb(208, 82, 212) |
| RGB % | rgb(82% 32% 83%) |
| HSL | hsl(298 60% 58%) |
| HSV / HSB | hsv(298, 61%, 83%) |
| HWB | hwb(298 32% 17%) |
| CMYK | cmyk(2%, 61%, 0%, 17%) |
| CIELAB (D50) | lab(56.16 62.4 -43.36) |
| LCH | lch(56.16 75.98 325.2) |
| OKLab | oklab(0.6512 0.182 -0.1205) |
| OKLCH | oklch(0.6512 0.2183 326.48) |
| Decimal | 13652692 |
Properties
| Color Tone | Purple, Crimson, Magenta |
|---|---|
| Closest named color | mediumorchid ΔE 4 |
| Closest web-safe color | #cc66cc |
| Hue | 298° |
| Saturation (HSL / HSV) | 60% / 61% |
| Lightness (HSL) | 58% |
| Brightness or Value (HSV) | 83% |
| Luminance (Rec.601 / Rec.709) | 53% / 46% |
| Relative luminance (WCAG) | 0.242 |
| Red / Green / Blue | 208 / 82 / 212 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
3.60:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.84:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 62.7 / -38.9 · As background with white / black text: Lc -68.2 / 41.3
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #d052d4;
--color-brand-oklch: oklch(65.12% 0.2183 326.48);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(208 82 212 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d052d4] text-[#d052d4] border-[#d052d4]">