#CC4EA3#CC4EA3

#CC4EA3 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.184 H 342.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CC4EA3
RGBrgb(204, 78, 163)
HSLhsl(320, 55%, 55%)
HSVhsv(320, 62%, 80%)
CMYKcmyk(0%, 61.8%, 20.1%, 20%)
CIE-LABlab(52.88, 58.88, -20.66)
CIE-LCHlch(52.88, 62.40, 340.66°)
OKLaboklab(61.8% 0.176 -0.0552)
OKLCHoklch(61.8% 0.184 342.6)
XYZxyz(34.2380, 20.9336, 36.8806)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA3 #4ECC77
analogous
#B64ECC #CC4EA3 #CC4E64
triadic
#CC4EA3 #A3CC4E #4EA3CC
tetradic
#CC4EA3 #CCB64E #4ECC77 #4E64CC
square
#CC4EA3 #CCB64E #4ECC77 #4E64CC
split-complementary
#CC4EA3 #64CC4E #4ECCB6
monochromatic
#7C245F #AB3184 #CC4EA3 #DA7EBC #E7ADD4

Accessibility & contrast

On white

4.05
#CC4EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CC4EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EA3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EA3#FFFFFF#000000##000000
##CC4EA31.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A6
Deuteranopia (green-blind)
#7D86A0
Tritanopia (blue-blind)
#D84F72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ea3;
/* rgb */ color: rgb(204, 78, 163);
/* oklch */ color: oklch(61.8% 0.184 342.6);
Tailwind
colors: {
  custom: {
    50: '#df87be',
    500: '#cc4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea3;
$custom-light: #df87be;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea3",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 319.524,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.18443,
    "h": 342.6
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#CC4EA3
secondary
#A1D5B2
accent
#DF7A49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4EA3

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CC4EA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva