#CC4EA5#CC4EA5

#CC4EA5 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.186 H 341.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CC4EA5
RGBrgb(204, 78, 165)
HSLhsl(319, 55%, 55%)
HSVhsv(319, 62%, 80%)
CMYKcmyk(0%, 61.8%, 19.1%, 20%)
CIE-LABlab(52.96, 59.16, -21.71)
CIE-LCHlch(52.96, 63.02, 339.85°)
OKLaboklab(61.88% 0.1764 -0.0581)
OKLCHoklch(61.88% 0.186 341.8)
XYZxyz(34.4186, 21.0059, 37.8318)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA5 #4ECC75
analogous
#B44ECC #CC4EA5 #CC4E66
triadic
#CC4EA5 #A5CC4E #4EA5CC
tetradic
#CC4EA5 #CCB44E #4ECC75 #4E66CC
square
#CC4EA5 #CCB44E #4ECC75 #4E66CC
split-complementary
#CC4EA5 #66CC4E #4ECCB4
monochromatic
#7C2461 #AB3186 #CC4EA5 #DA7EBD #E7ADD5

Accessibility & contrast

On white

4.04
#CC4EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CC4EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EA5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EA5#FFFFFF#000000##000000
##CC4EA51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5771A8
Deuteranopia (green-blind)
#7C86A2
Tritanopia (blue-blind)
#D84F73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ea5;
/* rgb */ color: rgb(204, 78, 165);
/* oklch */ color: oklch(61.9% 0.186 341.8);
Tailwind
colors: {
  custom: {
    50: '#df87c0',
    500: '#cc4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea5;
$custom-light: #df87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea5",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 318.571,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61879,
    "c": 0.18574,
    "h": 341.8
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#CC4EA5
secondary
#A1D5B1
accent
#DF7749
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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