#C00A9E

A color in the Purple, Crimson, Magenta family

#c00a9e is a color in the Purple, Crimson, Magenta family: RGB(192, 10, 158), HSL(311°, 90%, 40%), CMYK(0%, 95%, 18%, 25%). Closest named color: mediumvioletred. Contrast is 5.56:1 on white and 3.78:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c00a9e
RGBrgb(192 10 158)
RGB (legacy)rgb(192, 10, 158)
RGB %rgb(75% 4% 62%)
HSLhsl(311 90% 40%)
HSV / HSBhsv(311, 95%, 75%)
HWBhwb(311 4% 25%)
CMYKcmyk(0%, 95%, 18%, 25%)
CIELAB (D50)lab(44.26 71.34 -30.76)
LCHlch(44.26 77.68 336.68)
OKLaboklab(0.5497 0.2201 -0.0856)
OKLCHoklch(0.5497 0.2361 338.74)
Decimal12585630

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 4.6
Closest web-safe color#cc0099
Hue311°
Saturation (HSL / HSV)90% / 95%
Lightness (HSL)40%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)32% / 23%
Relative luminance (WCAG)0.1389
Red / Green / Blue192 / 10 / 158

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.56:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.78: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.5 / -26.2 · As background with white / black text: Lc -80.9 / 28.5

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: #c00a9e;
  --color-brand-oklch: oklch(54.97% 0.2361 338.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(192 10 158 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c00a9e] text-[#c00a9e] border-[#c00a9e]">