#CC00A0

A color in the Purple, Crimson, Magenta family

#cc00a0 is a color in the Purple, Crimson, Magenta family: RGB(204, 0, 160), HSL(313°, 100%, 40%), CMYK(0%, 100%, 22%, 20%). Closest named color: mediumvioletred. Contrast is 5.15:1 on white and 4.08:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cc00a0
RGBrgb(204 0 160)
RGB (legacy)rgb(204, 0, 160)
RGB %rgb(80% 0% 63%)
HSLhsl(313 100% 40%)
HSV / HSBhsv(313, 100%, 80%)
HWBhwb(313 0% 20%)
CMYKcmyk(0%, 100%, 22%, 20%)
CIELAB (D50)lab(46.4 74.88 -28.41)
LCHlch(46.4 80.09 339.22)
OKLaboklab(0.5688 0.2327 -0.0791)
OKLCHoklch(0.5688 0.2458 341.22)
Decimal13369504

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 4.5
Closest web-safe color#cc0099
Hue313°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)40%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)31% / 22%
Relative luminance (WCAG)0.1538
Red / Green / Blue204 / 0 / 160

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.08: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 72.9 / -28.8 · As background with white / black text: Lc -78.4 / 31.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: #cc00a0;
  --color-brand-oklch: oklch(56.88% 0.2458 341.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(204 0 160 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cc00a0] text-[#cc00a0] border-[#cc00a0]">