#AB00A0

A color in the Purple, Crimson, Magenta family

#ab00a0 is a color in the Purple, Crimson, Magenta family: RGB(171, 0, 160), HSL(304°, 100%, 34%), CMYK(0%, 100%, 6%, 33%). Closest named color: darkmagenta. Contrast is 6.48:1 on white and 3.24:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ab00a0
RGBrgb(171 0 160)
RGB (legacy)rgb(171, 0, 160)
RGB %rgb(67% 0% 63%)
HSLhsl(304 100% 34%)
HSV / HSBhsv(304, 100%, 67%)
HWBhwb(304 0% 33%)
CMYKcmyk(0%, 100%, 6%, 33%)
CIELAB (D50)lab(39.9 68.17 -39.14)
LCHlch(39.9 78.61 330.14)
OKLaboklab(0.5133 0.2044 -0.1092)
OKLCHoklch(0.5133 0.2318 331.88)
Decimal11206816

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 7.3
Closest web-safe color#990099
Hue304°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)34%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)27% / 19%
Relative luminance (WCAG)0.112
Red / Green / Blue171 / 0 / 160

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.48:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.24: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 79.7 / -22.1 · As background with white / black text: Lc -84.9 / 24.3

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: #ab00a0;
  --color-brand-oklch: oklch(51.33% 0.2318 331.88);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(171 0 160 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ab00a0] text-[#ab00a0] border-[#ab00a0]">