#CC4EA1#CC4EA1

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

Color values

HEX#CC4EA1
RGBrgb(204, 78, 161)
HSLhsl(320, 55%, 55%)
HSVhsv(320, 62%, 80%)
CMYKcmyk(0%, 61.8%, 21.1%, 20%)
CIE-LABlab(52.80, 58.60, -19.61)
CIE-LCHlch(52.80, 61.79, 341.50°)
OKLaboklab(61.71% 0.1755 -0.0523)
OKLCHoklch(61.71% 0.183 343.4)
XYZxyz(34.0602, 20.8625, 35.9444)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA1 #4ECC79
analogous
#B84ECC #CC4EA1 #CC4E62
triadic
#CC4EA1 #A1CC4E #4EA1CC
tetradic
#CC4EA1 #CCB84E #4ECC79 #4E62CC
square
#CC4EA1 #CCB84E #4ECC79 #4E62CC
split-complementary
#CC4EA1 #62CC4E #4ECCB8
monochromatic
#7C245E #AB3182 #CC4EA1 #DA7EBA #E7ADD3

Accessibility & contrast

On white

4.06
#CC4EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CC4EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EA1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EA1#FFFFFF#000000##000000
##CC4EA11.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#7D869E
Tritanopia (blue-blind)
#D84E71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ea1;
/* rgb */ color: rgb(204, 78, 161);
/* oklch */ color: oklch(61.7% 0.183 343.4);
Tailwind
colors: {
  custom: {
    50: '#df87bd',
    500: '#cc4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea1;
$custom-light: #df87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea1",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 320.476,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.18315,
    "h": 343.4
  },
  "luminance": 0.20859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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