#CC3EA2#CC3EA2

#CC3EA2 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.1% C 0.205 H 342.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC3EA2
RGBrgb(204, 62, 162)
HSLhsl(318, 58%, 52%)
HSVhsv(318, 70%, 80%)
CMYKcmyk(0%, 69.6%, 20.6%, 20%)
CIE-LABlab(50.56, 65.03, -23.63)
CIE-LCHlch(50.56, 69.19, 340.03°)
OKLaboklab(60.09% 0.1949 -0.0634)
OKLCHoklch(60.09% 0.205 342)
XYZxyz(33.1471, 18.8945, 36.0767)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EA2 #3ECC68
analogous
#AF3ECC #CC3EA2 #CC3E5B
triadic
#CC3EA2 #A2CC3E #3EA2CC
tetradic
#CC3EA2 #CCAF3E #3ECC68 #3E5BCC
square
#CC3EA2 #CCAF3E #3ECC68 #3E5BCC
split-complementary
#CC3EA2 #5BCC3E #3ECCAF
monochromatic
#721E59 #A22B7F #CC3EA2 #D96EB9 #E69FD1

Accessibility & contrast

On white

4.39
#CC3EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CC3EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EA2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EA2#FFFFFF#000000##000000
##CC3EA21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA5
Deuteranopia (green-blind)
#76819F
Tritanopia (blue-blind)
#D8406B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3ea2;
/* rgb */ color: rgb(204, 62, 162);
/* oklch */ color: oklch(60.1% 0.205 342.0);
Tailwind
colors: {
  custom: {
    50: '#df7fbd',
    500: '#cc3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ea2;
$custom-light: #df7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ea2",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 317.746,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60088,
    "c": 0.20492,
    "h": 342
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#CC3EA2
secondary
#94D2A6
accent
#E17446
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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