#AB99BC

A color in the Purple, Crimson, Magenta family

#ab99bc is a color in the Purple, Crimson, Magenta family: RGB(171, 153, 188), HSL(271°, 21%, 67%), CMYK(9%, 19%, 0%, 26%). Closest named color: darkgray. Contrast is 2.62:1 on white and 8.01:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ab99bc
RGBrgb(171 153 188)
RGB (legacy)rgb(171, 153, 188)
RGB %rgb(67% 60% 74%)
HSLhsl(271 21% 67%)
HSV / HSBhsv(271, 19%, 74%)
HWBhwb(271 60% 26%)
CMYKcmyk(9%, 19%, 0%, 26%)
CIELAB (D50)lab(65.71 11.87 -15.68)
LCHlch(65.71 19.67 307.14)
OKLaboklab(0.7103 0.0334 -0.0424)
OKLCHoklch(0.7103 0.0539 308.23)
Decimal11246012

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkgray ΔE 5.9
Closest web-safe color#9999cc
Hue271°
Saturation (HSL / HSV)21% / 19%
Lightness (HSL)67%
Brightness or Value (HSV)74%
Luminance (Rec.601 / Rec.709)64% / 62%
Relative luminance (WCAG)0.3507
Red / Green / Blue171 / 153 / 188

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.62:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.01: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 51.1 / -50.8 · As background with white / black text: Lc -56.3 / 52.9

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: #ab99bc;
  --color-brand-oklch: oklch(71.03% 0.0539 308.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(171 153 188 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ab99bc] text-[#ab99bc] border-[#ab99bc]">