#D91C8A

A color in the Purple, Crimson, Magenta family

#d91c8a is a color in the Purple, Crimson, Magenta family: RGB(217, 28, 138), HSL(325°, 77%, 48%), CMYK(0%, 87%, 36%, 15%). Closest named color: mediumvioletred. Contrast is 4.68:1 on white and 4.48:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d91c8a
RGBrgb(217 28 138)
RGB (legacy)rgb(217, 28, 138)
RGB %rgb(85% 11% 54%)
HSLhsl(325 77% 48%)
HSV / HSBhsv(325, 87%, 85%)
HWBhwb(325 11% 15%)
CMYKcmyk(0%, 87%, 36%, 15%)
CIELAB (D50)lab(49.27 73.09 -10.55)
LCHlch(49.27 73.84 351.79)
OKLaboklab(0.5892 0.229 -0.0304)
OKLCHoklch(0.5892 0.231 352.45)
Decimal14228618

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.48:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.6 / -31.1 · As background with white / black text: Lc -76 / 33.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: #d91c8a;
  --color-brand-oklch: oklch(58.92% 0.231 352.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(217 28 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d91c8a] text-[#d91c8a] border-[#d91c8a]">