#D02CA4

A color in the Purple, Crimson, Magenta family

#d02ca4 is a color in the Purple, Crimson, Magenta family: RGB(208, 44, 164), HSL(316°, 65%, 49%), CMYK(0%, 79%, 21%, 18%). Closest named color: mediumvioletred. Contrast is 4.59:1 on white and 4.58:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d02ca4
RGBrgb(208 44 164)
RGB (legacy)rgb(208, 44, 164)
RGB %rgb(82% 17% 64%)
HSLhsl(316 65% 49%)
HSV / HSBhsv(316, 79%, 82%)
HWBhwb(316 17% 18%)
CMYKcmyk(0%, 79%, 21%, 18%)
CIELAB (D50)lab(49.61 69.71 -25.78)
LCHlch(49.61 74.32 339.71)
OKLaboklab(0.5938 0.2159 -0.0716)
OKLCHoklch(0.5938 0.2275 341.65)
Decimal13642916

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 5.2
Closest web-safe color#cc3399
Hue316°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)49%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)42% / 34%
Relative luminance (WCAG)0.1789
Red / Green / Blue208 / 44 / 164

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.59:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.58: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 70.3 / -31.3 · As background with white / black text: Lc -75.8 / 33.7

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: #d02ca4;
  --color-brand-oklch: oklch(59.38% 0.2275 341.65);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(208 44 164 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d02ca4] text-[#d02ca4] border-[#d02ca4]">