#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
RGBrgb(208 82 212)
RGB (legacy)rgb(208, 82, 212)
RGB %rgb(82% 32% 83%)
HSLhsl(298 60% 58%)
HSV / HSBhsv(298, 61%, 83%)
HWBhwb(298 32% 17%)
CMYKcmyk(2%, 61%, 0%, 17%)
CIELAB (D50)lab(56.16 62.4 -43.36)
LCHlch(56.16 75.98 325.2)
OKLaboklab(0.6512 0.182 -0.1205)
OKLCHoklch(0.6512 0.2183 326.48)
Decimal13652692

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4
Closest web-safe color#cc66cc
Hue298°
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 / Blue208 / 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

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]">