#D91C8D

A color in the Purple, Crimson, Magenta family

#d91c8d is a color in the Purple, Crimson, Magenta family: RGB(217, 28, 141), HSL(324°, 77%, 48%), CMYK(0%, 87%, 35%, 15%). Closest named color: mediumvioletred. Contrast is 4.67:1 on white and 4.5:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d91c8d
RGBrgb(217 28 141)
RGB (legacy)rgb(217, 28, 141)
RGB %rgb(85% 11% 55%)
HSLhsl(324 77% 48%)
HSV / HSBhsv(324, 87%, 85%)
HWBhwb(324 11% 15%)
CMYKcmyk(0%, 87%, 35%, 15%)
CIELAB (D50)lab(49.36 73.3 -12.22)
LCHlch(49.36 74.31 350.53)
OKLaboklab(0.5903 0.2297 -0.0348)
OKLCHoklch(0.5903 0.2323 351.38)
Decimal14228621

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 3.9
Closest web-safe color#cc3399
Hue324°
Saturation (HSL / HSV)77% / 87%
Lightness (HSL)48%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)38% / 30%
Relative luminance (WCAG)0.1751
Red / Green / Blue217 / 28 / 141

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.67:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.50: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.4 / -31.2 · As background with white / black text: Lc -75.9 / 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: #d91c8d;
  --color-brand-oklch: oklch(59.03% 0.2323 351.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(217 28 141 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d91c8d] text-[#d91c8d] border-[#d91c8d]">