#CC4EA8#CC4EA8

#CC4EA8 is a light, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.188 H 340.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CC4EA8
RGBrgb(204, 78, 168)
HSLhsl(317, 55%, 55%)
HSVhsv(317, 62%, 80%)
CMYKcmyk(0%, 61.8%, 17.6%, 20%)
CIE-LABlab(53.08, 59.59, -23.29)
CIE-LCHlch(53.08, 63.98, 338.66°)
OKLaboklab(62.01% 0.177 -0.0626)
OKLCHoklch(62.01% 0.188 340.5)
XYZxyz(34.6949, 21.1164, 39.2868)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA8 #4ECC72
analogous
#B14ECC #CC4EA8 #CC4E69
triadic
#CC4EA8 #A8CC4E #4EA8CC
tetradic
#CC4EA8 #CCB14E #4ECC72 #4E69CC
square
#CC4EA8 #CCB14E #4ECC72 #4E69CC
split-complementary
#CC4EA8 #69CC4E #4ECCB1
monochromatic
#7C2463 #AB3189 #CC4EA8 #DA7EBF #E7ADD7

Accessibility & contrast

On white

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

On black

5.22
#CC4EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EA8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EA8#FFFFFF#000000##000000
##CC4EA81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc4ea8;
/* rgb */ color: rgb(204, 78, 168);
/* oklch */ color: oklch(62.0% 0.188 340.5);
Tailwind
colors: {
  custom: {
    50: '#df87c2',
    500: '#cc4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea8;
$custom-light: #df87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea8",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 317.143,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62007,
    "c": 0.18774,
    "h": 340.5
  },
  "luminance": 0.21113
}

Semantic roles & 50–950 ramp

primary
#CC4EA8
secondary
#A1D5B0
accent
#DF7449
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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