#AA4792

A color in the Purple, Crimson, Magenta family

#aa4792 is a color in the Purple, Crimson, Magenta family: RGB(170, 71, 146), HSL(315°, 41%, 47%), CMYK(0%, 58%, 14%, 33%). Closest named color: mediumvioletred. Contrast is 5.22:1 on white and 4.03:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aa4792
RGBrgb(170 71 146)
RGB (legacy)rgb(170, 71, 146)
RGB %rgb(67% 28% 57%)
HSLhsl(315 41% 47%)
HSV / HSBhsv(315, 58%, 67%)
HWBhwb(315 28% 33%)
CMYKcmyk(0%, 58%, 14%, 33%)
CIELAB (D50)lab(45.91 47.95 -21.39)
LCHlch(45.91 52.51 335.96)
OKLaboklab(0.5533 0.1459 -0.059)
OKLCHoklch(0.5533 0.1574 337.97)
Decimal11159442

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 7.5
Closest web-safe color#993399
Hue315°
Saturation (HSL / HSV)41% / 58%
Lightness (HSL)47%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)43% / 38%
Relative luminance (WCAG)0.1513
Red / Green / Blue170 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.03: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 75.3 / -26.5 · As background with white / black text: Lc -80.6 / 28.8

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