#CC3EA1#CC3EA1

#CC3EA1 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.0% C 0.204 H 342.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CC3EA1
RGBrgb(204, 62, 161)
HSLhsl(318, 58%, 52%)
HSVhsv(318, 70%, 80%)
CMYKcmyk(0%, 69.6%, 21.1%, 20%)
CIE-LABlab(50.52, 64.90, -23.10)
CIE-LCHlch(50.52, 68.89, 340.40°)
OKLaboklab(60.05% 0.1947 -0.0619)
OKLCHoklch(60.05% 0.204 342.4)
XYZxyz(33.0585, 18.8591, 35.6105)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EA1 #3ECC69
analogous
#B03ECC #CC3EA1 #CC3E5A
triadic
#CC3EA1 #A1CC3E #3EA1CC
tetradic
#CC3EA1 #CCB03E #3ECC69 #3E5ACC
square
#CC3EA1 #CCB03E #3ECC69 #3E5ACC
split-complementary
#CC3EA1 #5ACC3E #3ECCB0
monochromatic
#721E58 #A22B7E #CC3EA1 #D96EB9 #E69FD0

Accessibility & contrast

On white

4.40
#CC3EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CC3EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EA1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EA1#FFFFFF#000000##000000
##CC3EA11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B69A4
Deuteranopia (green-blind)
#76819E
Tritanopia (blue-blind)
#D93F6A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3ea1;
/* rgb */ color: rgb(204, 62, 161);
/* oklch */ color: oklch(60.0% 0.204 342.4);
Tailwind
colors: {
  custom: {
    50: '#df7fbd',
    500: '#cc3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ea1;
$custom-light: #df7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ea1",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 318.169,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60045,
    "c": 0.2043,
    "h": 342.4
  },
  "luminance": 0.18856
}

Semantic roles & 50–950 ramp

primary
#CC3EA1
secondary
#94D2A7
accent
#E17546
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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