#CC4EA0#CC4EA0

#CC4EA0 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.183 H 343.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CC4EA0
RGBrgb(204, 78, 160)
HSLhsl(321, 55%, 55%)
HSVhsv(321, 62%, 80%)
CMYKcmyk(0%, 61.8%, 21.6%, 20%)
CIE-LABlab(52.76, 58.46, -19.08)
CIE-LCHlch(52.76, 61.49, 341.93°)
OKLaboklab(61.67% 0.1753 -0.0508)
OKLCHoklch(61.67% 0.183 343.8)
XYZxyz(33.9724, 20.8274, 35.4818)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA0 #4ECC7A
analogous
#B94ECC #CC4EA0 #CC4E61
triadic
#CC4EA0 #A0CC4E #4EA0CC
tetradic
#CC4EA0 #CCB94E #4ECC7A #4E61CC
square
#CC4EA0 #CCB94E #4ECC7A #4E61CC
split-complementary
#CC4EA0 #61CC4E #4ECCB9
monochromatic
#7C245D #AB3181 #CC4EA0 #DA7EBA #E7ADD3

Accessibility & contrast

On white

4.07
#CC4EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CC4EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EA0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EA0#FFFFFF#000000##000000
##CC4EA01.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A3
Deuteranopia (green-blind)
#7E869D
Tritanopia (blue-blind)
#D84E70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ea0;
/* rgb */ color: rgb(204, 78, 160);
/* oklch */ color: oklch(61.7% 0.183 343.8);
Tailwind
colors: {
  custom: {
    50: '#df87bc',
    500: '#cc4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea0;
$custom-light: #df87bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea0",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 320.952,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61671,
    "c": 0.18252,
    "h": 343.8
  },
  "luminance": 0.20824
}

Semantic roles & 50–950 ramp

primary
#CC4EA0
secondary
#A1D5B3
accent
#DF7D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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