#CC4EA7#CC4EA7

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

Color values

HEX#CC4EA7
RGBrgb(204, 78, 167)
HSLhsl(318, 55%, 55%)
HSVhsv(318, 62%, 80%)
CMYKcmyk(0%, 61.8%, 18.1%, 20%)
CIE-LABlab(53.04, 59.45, -22.76)
CIE-LCHlch(53.04, 63.66, 339.05°)
OKLaboklab(61.96% 0.1768 -0.0611)
OKLCHoklch(61.96% 0.187 340.9)
XYZxyz(34.6021, 21.0792, 38.7981)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA7 #4ECC73
analogous
#B24ECC #CC4EA7 #CC4E68
triadic
#CC4EA7 #A7CC4E #4EA7CC
tetradic
#CC4EA7 #CCB24E #4ECC73 #4E68CC
square
#CC4EA7 #CCB24E #4ECC73 #4E68CC
split-complementary
#CC4EA7 #68CC4E #4ECCB2
monochromatic
#7C2462 #AB3188 #CC4EA7 #DA7EBF #E7ADD6

Accessibility & contrast

On white

4.03
#CC4EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4EA7#FFFFFF#000000##000000
##CC4EA71.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672AA
Deuteranopia (green-blind)
#7B86A4
Tritanopia (blue-blind)
#D85073
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4ea7;
/* rgb */ color: rgb(204, 78, 167);
/* oklch */ color: oklch(62.0% 0.187 340.9);
Tailwind
colors: {
  custom: {
    50: '#df87c1',
    500: '#cc4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea7;
$custom-light: #df87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea7",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 317.619,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61964,
    "c": 0.18707,
    "h": 340.9
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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