#CC4E8A

A color in the Red, Pink family

#cc4e8a is a color in the Red, Pink family: RGB(204, 78, 138), HSL(331°, 55%, 55%), CMYK(0%, 62%, 32%, 20%). Closest named color: mediumvioletred. Contrast is 4.18:1 on white and 5.02:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cc4e8a
RGBrgb(204 78 138)
RGB (legacy)rgb(204, 78, 138)
RGB %rgb(80% 31% 54%)
HSLhsl(331 55% 55%)
HSV / HSBhsv(331, 62%, 80%)
HWBhwb(331 31% 20%)
CMYKcmyk(0%, 62%, 32%, 20%)
CIELAB (D50)lab(52.33 54.87 -6.33)
LCHlch(52.33 55.23 353.42)
OKLaboklab(0.6084 0.1695 -0.0184)
OKLCHoklch(0.6084 0.1705 353.79)
Decimal13389450

Properties

Color ToneRed, Pink
Closest named colormediumvioletred ΔE 7.6
Closest web-safe color#cc6699
Hue331°
Saturation (HSL / HSV)55% / 62%
Lightness (HSL)55%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)48% / 43%
Relative luminance (WCAG)0.2012
Red / Green / Blue204 / 78 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.18:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.02: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 / -33.6 · As background with white / black text: Lc -73.5 / 36

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: #cc4e8a;
  --color-brand-oklch: oklch(60.84% 0.1705 353.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(204 78 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cc4e8a] text-[#cc4e8a] border-[#cc4e8a]">