#CC4EA4#CC4EA4

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

Color values

HEX#CC4EA4
RGBrgb(204, 78, 164)
HSLhsl(319, 55%, 55%)
HSVhsv(319, 62%, 80%)
CMYKcmyk(0%, 61.8%, 19.6%, 20%)
CIE-LABlab(52.92, 59.02, -21.19)
CIE-LCHlch(52.92, 62.71, 340.25°)
OKLaboklab(61.84% 0.1762 -0.0567)
OKLCHoklch(61.84% 0.185 342.2)
XYZxyz(34.3280, 20.9696, 37.3544)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA4 #4ECC76
analogous
#B54ECC #CC4EA4 #CC4E65
triadic
#CC4EA4 #A4CC4E #4EA4CC
tetradic
#CC4EA4 #CCB54E #4ECC76 #4E65CC
square
#CC4EA4 #CCB54E #4ECC76 #4E65CC
split-complementary
#CC4EA4 #65CC4E #4ECCB5
monochromatic
#7C2460 #AB3185 #CC4EA4 #DA7EBC #E7ADD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4EA4#FFFFFF#000000##000000
##CC4EA41.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5771A7
Deuteranopia (green-blind)
#7C86A1
Tritanopia (blue-blind)
#D84F72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ea4;
/* rgb */ color: rgb(204, 78, 164);
/* oklch */ color: oklch(61.8% 0.185 342.2);
Tailwind
colors: {
  custom: {
    50: '#df87bf',
    500: '#cc4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea4;
$custom-light: #df87bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea4",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 319.048,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.18508,
    "h": 342.2
  },
  "luminance": 0.20966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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