#CC4EA9#CC4EA9

#CC4EA9 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.1% C 0.188 H 340.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CC4EA9
RGBrgb(204, 78, 169)
HSLhsl(317, 55%, 55%)
HSVhsv(317, 62%, 80%)
CMYKcmyk(0%, 61.8%, 17.2%, 20%)
CIE-LABlab(53.12, 59.74, -23.81)
CIE-LCHlch(53.12, 64.31, 338.27°)
OKLaboklab(62.05% 0.1772 -0.064)
OKLCHoklch(62.05% 0.188 340.1)
XYZxyz(34.7884, 21.1538, 39.7793)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA9 #4ECC71
analogous
#B04ECC #CC4EA9 #CC4E6A
triadic
#CC4EA9 #A9CC4E #4EA9CC
tetradic
#CC4EA9 #CCB04E #4ECC71 #4E6ACC
square
#CC4EA9 #CCB04E #4ECC71 #4E6ACC
split-complementary
#CC4EA9 #6ACC4E #4ECCB0
monochromatic
#7C2463 #AB318A #CC4EA9 #DA7EC0 #E7ADD7

Accessibility & contrast

On white

4.02
#CC4EA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CC4EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EA9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EA9#FFFFFF#000000##000000
##CC4EA91.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5572AC
Deuteranopia (green-blind)
#7B86A6
Tritanopia (blue-blind)
#D75174
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4ea9;
/* rgb */ color: rgb(204, 78, 169);
/* oklch */ color: oklch(62.1% 0.188 340.1);
Tailwind
colors: {
  custom: {
    50: '#df87c2',
    500: '#cc4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea9;
$custom-light: #df87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea9",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 316.667,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62051,
    "c": 0.18842,
    "h": 340.1
  },
  "luminance": 0.21151
}

Semantic roles & 50–950 ramp

primary
#CC4EA9
secondary
#A1D5AF
accent
#DF7349
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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