#CC4EA6#CC4EA6

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

Color values

HEX#CC4EA6
RGBrgb(204, 78, 166)
HSLhsl(318, 55%, 55%)
HSVhsv(318, 62%, 80%)
CMYKcmyk(0%, 61.8%, 18.6%, 20%)
CIE-LABlab(53.00, 59.31, -22.24)
CIE-LCHlch(53.00, 63.34, 339.44°)
OKLaboklab(61.92% 0.1766 -0.0596)
OKLCHoklch(61.92% 0.186 341.3)
XYZxyz(34.5100, 21.0424, 38.3131)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EA6 #4ECC74
analogous
#B34ECC #CC4EA6 #CC4E67
triadic
#CC4EA6 #A6CC4E #4EA6CC
tetradic
#CC4EA6 #CCB34E #4ECC74 #4E67CC
square
#CC4EA6 #CCB34E #4ECC74 #4E67CC
split-complementary
#CC4EA6 #67CC4E #4ECCB3
monochromatic
#7C2461 #AB3187 #CC4EA6 #DA7EBE #E7ADD6

Accessibility & contrast

On white

4.03
#CC4EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CC4EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EA6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EA6#FFFFFF#000000##000000
##CC4EA61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672A9
Deuteranopia (green-blind)
#7C86A3
Tritanopia (blue-blind)
#D85073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ea6;
/* rgb */ color: rgb(204, 78, 166);
/* oklch */ color: oklch(61.9% 0.186 341.3);
Tailwind
colors: {
  custom: {
    50: '#df87c0',
    500: '#cc4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ea6;
$custom-light: #df87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ea6",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 318.095,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.1864,
    "h": 341.3
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

primary
#CC4EA6
secondary
#A1D5B0
accent
#DF7649
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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