#CC4792

A color in the Purple, Crimson, Magenta family

#cc4792 is a color in the Purple, Crimson, Magenta family: RGB(204, 71, 146), HSL(326°, 57%, 54%), CMYK(0%, 65%, 28%, 20%). Closest named color: mediumvioletred. Contrast is 4.3:1 on white and 4.88:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cc4792
RGBrgb(204 71 146)
RGB (legacy)rgb(204, 71, 146)
RGB %rgb(80% 28% 57%)
HSLhsl(326 57% 54%)
HSV / HSBhsv(326, 65%, 80%)
HWBhwb(326 28% 20%)
CMYKcmyk(0%, 65%, 28%, 20%)
CIELAB (D50)lab(51.49 58.37 -12.32)
LCHlch(51.49 59.66 348.08)
OKLaboklab(0.6034 0.1808 -0.0345)
OKLCHoklch(0.6034 0.1841 349.19)
Decimal13387666

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.3
Closest web-safe color#cc3399
Hue326°
Saturation (HSL / HSV)57% / 65%
Lightness (HSL)54%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)47% / 41%
Relative luminance (WCAG)0.1942
Red / Green / Blue204 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.30:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.88: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 68.9 / -32.8 · As background with white / black text: Lc -74.4 / 35.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: #cc4792;
  --color-brand-oklch: oklch(60.34% 0.1841 349.19);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(204 71 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cc4792] text-[#cc4792] border-[#cc4792]">