#D997BA

A color in the Purple, Crimson, Magenta family

#d997ba is a color in the Purple, Crimson, Magenta family: RGB(217, 151, 186), HSL(328°, 46%, 72%), CMYK(0%, 30%, 14%, 15%). Closest named color: plum. Contrast is 2.31:1 on white and 9.09:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d997ba
RGBrgb(217 151 186)
RGB (legacy)rgb(217, 151, 186)
RGB %rgb(85% 59% 73%)
HSLhsl(328 46% 72%)
HSV / HSBhsv(328, 30%, 85%)
HWBhwb(328 59% 15%)
CMYKcmyk(0%, 30%, 14%, 15%)
CIELAB (D50)lab(69.89 29.3 -7.74)
LCHlch(69.89 30.31 345.2)
OKLaboklab(0.7511 0.0882 -0.0213)
OKLCHoklch(0.7511 0.0908 346.44)
Decimal14260154

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 5
Closest web-safe color#cc99cc
Hue328°
Saturation (HSL / HSV)46% / 30%
Lightness (HSL)72%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)69% / 66%
Relative luminance (WCAG)0.4043
Red / Green / Blue217 / 151 / 186

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 45.5 / -56.6 · As background with white / black text: Lc -50.4 / 58.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: #d997ba;
  --color-brand-oklch: oklch(75.11% 0.0908 346.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(217 151 186 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d997ba] text-[#d997ba] border-[#d997ba]">