#CC4EB4#CC4EB4

#CC4EB4 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.5% C 0.196 H 335.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CC4EB4
RGBrgb(204, 78, 180)
HSLhsl(311, 55%, 55%)
HSVhsv(311, 62%, 80%)
CMYKcmyk(0%, 61.8%, 11.8%, 20%)
CIE-LABlab(53.58, 61.38, -29.50)
CIE-LCHlch(53.58, 68.10, 334.33°)
OKLaboklab(62.54% 0.1791 -0.0801)
OKLCHoklch(62.54% 0.196 335.9)
XYZxyz(35.8648, 21.5843, 45.4484)
Luminance0.2158 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EB4 #4ECC66
analogous
#A54ECC #CC4EB4 #CC4E75
triadic
#CC4EB4 #B4CC4E #4EB4CC
tetradic
#CC4EB4 #CCA54E #4ECC66 #4E75CC
square
#CC4EB4 #CCA54E #4ECC66 #4E75CC
split-complementary
#CC4EB4 #75CC4E #4ECCA5
monochromatic
#7C246B #AB3194 #CC4EB4 #DA7EC8 #E7ADDC

Accessibility & contrast

On white

3.95
#CC4EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CC4EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EB4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EB4#FFFFFF#000000##000000
##CC4EB41.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#7787B1
Tritanopia (blue-blind)
#D6557A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4eb4;
/* rgb */ color: rgb(204, 78, 180);
/* oklch */ color: oklch(62.5% 0.196 335.9);
Tailwind
colors: {
  custom: {
    50: '#df87ca',
    500: '#cc4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #cc4eb4;
$custom-light: #df87ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4eb4",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 311.429,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62544,
    "c": 0.19624,
    "h": 335.9
  },
  "luminance": 0.21581
}

Semantic roles & 50–950 ramp

primary
#CC4EB4
secondary
#A1D5AB
accent
#DF6649
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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