#AF99BC

A color in the Purple, Crimson, Magenta family

#af99bc is a color in the Purple, Crimson, Magenta family: RGB(175, 153, 188), HSL(278°, 21%, 67%), CMYK(7%, 19%, 0%, 26%). Closest named color: darkgray. Contrast is 2.59:1 on white and 8.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#af99bc
RGBrgb(175 153 188)
RGB (legacy)rgb(175, 153, 188)
RGB %rgb(69% 60% 74%)
HSLhsl(278 21% 67%)
HSV / HSBhsv(278, 19%, 74%)
HWBhwb(278 60% 26%)
CMYKcmyk(7%, 19%, 0%, 26%)
CIELAB (D50)lab(66.08 13.3 -15.08)
LCHlch(66.08 20.11 311.42)
OKLaboklab(0.7139 0.0379 -0.0407)
OKLCHoklch(0.7139 0.0557 312.94)
Decimal11508156

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.59:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.11: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 50.6 / -51.3 · As background with white / black text: Lc -55.8 / 53.4

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