#D052D6

A color in the Purple, Crimson, Magenta family

#d052d6 is a color in the Purple, Crimson, Magenta family: RGB(208, 82, 214), HSL(297°, 62%, 58%), CMYK(3%, 62%, 0%, 16%). Closest named color: mediumorchid. Contrast is 3.58:1 on white and 5.86:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d052d6
RGBrgb(208 82 214)
RGB (legacy)rgb(208, 82, 214)
RGB %rgb(82% 32% 84%)
HSLhsl(297 62% 58%)
HSV / HSBhsv(297, 62%, 84%)
HWBhwb(297 32% 16%)
CMYKcmyk(3%, 62%, 0%, 16%)
CIELAB (D50)lab(56.25 62.65 -44.36)
LCHlch(56.25 76.77 324.7)
OKLaboklab(0.6523 0.1821 -0.1234)
OKLCHoklch(0.6523 0.22 325.89)
Decimal13652694

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4
Closest web-safe color#cc66cc
Hue297°
Saturation (HSL / HSV)62% / 62%
Lightness (HSL)58%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)53% / 46%
Relative luminance (WCAG)0.243
Red / Green / Blue208 / 82 / 214

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.58:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.86: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.6 / -39.1 · As background with white / black text: Lc -68.1 / 41.5

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: #d052d6;
  --color-brand-oklch: oklch(65.23% 0.22 325.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(208 82 214 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d052d6] text-[#d052d6] border-[#d052d6]">