#C00A8C

A color in the Purple, Crimson, Magenta family

#c00a8c is a color in the Purple, Crimson, Magenta family: RGB(192, 10, 140), HSL(317°, 90%, 40%), CMYK(0%, 95%, 27%, 25%). Closest named color: mediumvioletred. Contrast is 5.73:1 on white and 3.66:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c00a8c
RGBrgb(192 10 140)
RGB (legacy)rgb(192, 10, 140)
RGB %rgb(75% 4% 55%)
HSLhsl(317 90% 40%)
HSV / HSBhsv(317, 95%, 75%)
HWBhwb(317 4% 25%)
CMYKcmyk(0%, 95%, 27%, 25%)
CIELAB (D50)lab(43.56 69.8 -20.95)
LCHlch(43.56 72.87 343.3)
OKLaboklab(0.5409 0.2182 -0.0584)
OKLCHoklch(0.5409 0.2259 345.01)
Decimal12585612

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.66: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 76.4 / -25.3 · As background with white / black text: Lc -81.8 / 27.6

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