#CC4EA2#CC4EA2

#CC4EA2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.184 H 343.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CC4EA2
RGBrgb(204, 78, 162)
HSLhsl(320, 55%, 55%)
HSVhsv(320, 62%, 80%)
CMYKcmyk(0%, 61.8%, 20.6%, 20%)
CIE-LABlab(52.84, 58.74, -20.13)
CIE-LCHlch(52.84, 62.09, 341.08°)
OKLaboklab(61.75% 0.1758 -0.0537)
OKLCHoklch(61.75% 0.184 343)
XYZxyz(34.1488, 20.8979, 36.4106)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA2 #4ECC78
analogous
#B74ECC #CC4EA2 #CC4E63
triadic
#CC4EA2 #A2CC4E #4EA2CC
tetradic
#CC4EA2 #CCB74E #4ECC78 #4E63CC
square
#CC4EA2 #CCB74E #4ECC78 #4E63CC
split-complementary
#CC4EA2 #63CC4E #4ECCB7
monochromatic
#7C245E #AB3183 #CC4EA2 #DA7EBB #E7ADD4

Accessibility & contrast

On white

4.05
#CC4EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CC4EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EA2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EA2#FFFFFF#000000##000000
##CC4EA21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D84E71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ea2;
/* rgb */ color: rgb(204, 78, 162);
/* oklch */ color: oklch(61.8% 0.184 343.0);
Tailwind
colors: {
  custom: {
    50: '#df87bd',
    500: '#cc4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea2;
$custom-light: #df87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea2",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 320,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.18378,
    "h": 343
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#CC4EA2
secondary
#A1D5B2
accent
#DF7B49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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