#CC4EB2#CC4EB2

#CC4EB2 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.5% C 0.195 H 336.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CC4EB2
RGBrgb(204, 78, 178)
HSLhsl(312, 55%, 55%)
HSVhsv(312, 62%, 80%)
CMYKcmyk(0%, 61.8%, 12.7%, 20%)
CIE-LABlab(53.50, 61.08, -28.47)
CIE-LCHlch(53.50, 67.39, 335.01°)
OKLaboklab(62.45% 0.1788 -0.0772)
OKLCHoklch(62.45% 0.195 336.6)
XYZxyz(35.6626, 21.5034, 44.3832)
Luminance0.2150 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EB2 #4ECC68
analogous
#A74ECC #CC4EB2 #CC4E73
triadic
#CC4EB2 #B2CC4E #4EB2CC
tetradic
#CC4EB2 #CCA74E #4ECC68 #4E73CC
square
#CC4EB2 #CCA74E #4ECC68 #4E73CC
split-complementary
#CC4EB2 #73CC4E #4ECCA7
monochromatic
#7C246A #AB3192 #CC4EB2 #DA7EC7 #E7ADDB

Accessibility & contrast

On white

3.96
#CC4EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CC4EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EB2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EB2#FFFFFF#000000##000000
##CC4EB21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B5
Deuteranopia (green-blind)
#7787AF
Tritanopia (blue-blind)
#D65479
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4eb2;
/* rgb */ color: rgb(204, 78, 178);
/* oklch */ color: oklch(62.5% 0.195 336.6);
Tailwind
colors: {
  custom: {
    50: '#df87c9',
    500: '#cc4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4eb2;
$custom-light: #df87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4eb2",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 312.381,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62452,
    "c": 0.19477,
    "h": 336.6
  },
  "luminance": 0.21501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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