#A52182

A color in the Purple, Crimson, Magenta family

#a52182 is a color in the Purple, Crimson, Magenta family: RGB(165, 33, 130), HSL(316°, 67%, 39%), CMYK(0%, 80%, 21%, 35%). Closest named color: mediumvioletred. Contrast is 6.69:1 on white and 3.14:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a52182
RGBrgb(165 33 130)
RGB (legacy)rgb(165, 33, 130)
RGB %rgb(65% 13% 51%)
HSLhsl(316 67% 39%)
HSV / HSBhsv(316, 80%, 65%)
HWBhwb(316 13% 35%)
CMYKcmyk(0%, 80%, 21%, 35%)
CIELAB (D50)lab(39.27 58.67 -21.93)
LCHlch(39.27 62.63 339.5)
OKLaboklab(0.5002 0.1816 -0.0609)
OKLCHoklch(0.5002 0.1915 341.46)
Decimal10822018

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.8
Closest web-safe color#993399
Hue316°
Saturation (HSL / HSV)67% / 80%
Lightness (HSL)39%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)33% / 27%
Relative luminance (WCAG)0.107
Red / Green / Blue165 / 33 / 130

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.14: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 81.6 / -20.3 · As background with white / black text: Lc -86.7 / 22.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: #a52182;
  --color-brand-oklch: oklch(50.02% 0.1915 341.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(165 33 130 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a52182] text-[#a52182] border-[#a52182]">