#CC3EA6#CC3EA6

#CC3EA6 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.3% C 0.207 H 340.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CC3EA6
RGBrgb(204, 62, 166)
HSLhsl(316, 58%, 52%)
HSVhsv(316, 70%, 80%)
CMYKcmyk(0%, 69.6%, 18.6%, 20%)
CIE-LABlab(50.73, 65.58, -25.73)
CIE-LCHlch(50.73, 70.44, 338.58°)
OKLaboklab(60.27% 0.1956 -0.0693)
OKLCHoklch(60.27% 0.207 340.5)
XYZxyz(33.5083, 19.0390, 37.9792)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EA6 #3ECC64
analogous
#AB3ECC #CC3EA6 #CC3E5F
triadic
#CC3EA6 #A6CC3E #3EA6CC
tetradic
#CC3EA6 #CCAB3E #3ECC64 #3E5FCC
square
#CC3EA6 #CCAB3E #3ECC64 #3E5FCC
split-complementary
#CC3EA6 #5FCC3E #3ECCAB
monochromatic
#721E5B #A22B82 #CC3EA6 #D96EBC #E69FD3

Accessibility & contrast

On white

4.37
#CC3EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CC3EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EA6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EA6#FFFFFF#000000##000000
##CC3EA61.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#7581A3
Tritanopia (blue-blind)
#D8426D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3ea6;
/* rgb */ color: rgb(204, 62, 166);
/* oklch */ color: oklch(60.3% 0.207 340.5);
Tailwind
colors: {
  custom: {
    50: '#df7fc0',
    500: '#cc3ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ea6;
$custom-light: #df7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ea6",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 316.056,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60267,
    "c": 0.20747,
    "h": 340.5
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#CC3EA6
secondary
#94D2A4
accent
#E17046
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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