#AC4792

A color in the Purple, Crimson, Magenta family

#ac4792 is a color in the Purple, Crimson, Magenta family: RGB(172, 71, 146), HSL(315°, 42%, 48%), CMYK(0%, 59%, 15%, 33%). Closest named color: mediumvioletred. Contrast is 5.16:1 on white and 4.07:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ac4792
RGBrgb(172 71 146)
RGB (legacy)rgb(172, 71, 146)
RGB %rgb(67% 28% 57%)
HSLhsl(315 42% 48%)
HSV / HSBhsv(315, 59%, 67%)
HWBhwb(315 28% 33%)
CMYKcmyk(0%, 59%, 15%, 33%)
CIELAB (D50)lab(46.23 48.58 -20.87)
LCHlch(46.23 52.87 336.75)
OKLaboklab(0.5562 0.1481 -0.0576)
OKLCHoklch(0.5562 0.1589 338.74)
Decimal11290514

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 7.2
Closest web-safe color#993399
Hue315°
Saturation (HSL / HSV)42% / 59%
Lightness (HSL)48%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)43% / 38%
Relative luminance (WCAG)0.1535
Red / Green / Blue172 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.16:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.07: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 74.9 / -26.8 · As background with white / black text: Lc -80.3 / 29.2

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: #ac4792;
  --color-brand-oklch: oklch(55.62% 0.1589 338.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(172 71 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ac4792] text-[#ac4792] border-[#ac4792]">