#C00A8A

A color in the Purple, Crimson, Magenta family

#c00a8a is a color in the Purple, Crimson, Magenta family: RGB(192, 10, 138), HSL(318°, 90%, 40%), CMYK(0%, 95%, 28%, 25%). Closest named color: mediumvioletred. Contrast is 5.75:1 on white and 3.65:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c00a8a
RGBrgb(192 10 138)
RGB (legacy)rgb(192, 10, 138)
RGB %rgb(75% 4% 54%)
HSLhsl(318 90% 40%)
HSV / HSBhsv(318, 95%, 75%)
HWBhwb(318 4% 25%)
CMYKcmyk(0%, 95%, 28%, 25%)
CIELAB (D50)lab(43.49 69.64 -19.83)
LCHlch(43.49 72.41 344.1)
OKLaboklab(0.54 0.2179 -0.0554)
OKLCHoklch(0.54 0.2249 345.74)
Decimal12585610

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.75:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.65: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.5 / -25.2 · As background with white / black text: Lc -81.9 / 27.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: #c00a8a;
  --color-brand-oklch: oklch(54% 0.2249 345.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(192 10 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c00a8a] text-[#c00a8a] border-[#c00a8a]">