#C040AE

A color in the Purple, Crimson, Magenta family

#c040ae is a color in the Purple, Crimson, Magenta family: RGB(192, 64, 174), HSL(308°, 50%, 50%), CMYK(0%, 67%, 9%, 25%). Closest named color: mediumorchid. Contrast is 4.58:1 on white and 4.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c040ae
RGBrgb(192 64 174)
RGB (legacy)rgb(192, 64, 174)
RGB %rgb(75% 25% 68%)
HSLhsl(308 50% 50%)
HSV / HSBhsv(308, 67%, 75%)
HWBhwb(308 25% 25%)
CMYKcmyk(0%, 67%, 9%, 25%)
CIELAB (D50)lab(49.46 60.43 -32.16)
LCHlch(49.46 68.46 331.98)
OKLaboklab(0.5905 0.1824 -0.0892)
OKLCHoklch(0.5905 0.2031 333.94)
Decimal12599470

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.3
Closest web-safe color#cc3399
Hue308°
Saturation (HSL / HSV)50% / 67%
Lightness (HSL)50%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)45% / 39%
Relative luminance (WCAG)0.1793
Red / Green / Blue192 / 64 / 174

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.58:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.59:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.9 / -30.8 · As background with white / black text: Lc -76.3 / 33.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: #c040ae;
  --color-brand-oklch: oklch(59.05% 0.2031 333.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(192 64 174 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c040ae] text-[#c040ae] border-[#c040ae]">