#CC3EA8#CC3EA8

#CC3EA8 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.4% C 0.209 H 339.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC3EA8
RGBrgb(204, 62, 168)
HSLhsl(315, 58%, 52%)
HSVhsv(315, 70%, 80%)
CMYKcmyk(0%, 69.6%, 17.6%, 20%)
CIE-LABlab(50.82, 65.85, -26.77)
CIE-LCHlch(50.82, 71.09, 337.87°)
OKLaboklab(60.36% 0.1959 -0.0723)
OKLCHoklch(60.36% 0.209 339.7)
XYZxyz(33.6932, 19.1130, 38.9529)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EA8 #3ECC62
analogous
#A93ECC #CC3EA8 #CC3E61
triadic
#CC3EA8 #A8CC3E #3EA8CC
tetradic
#CC3EA8 #CCA93E #3ECC62 #3E61CC
square
#CC3EA8 #CCA93E #3ECC62 #3E61CC
split-complementary
#CC3EA8 #61CC3E #3ECCA9
monochromatic
#721E5C #A22B84 #CC3EA8 #D96EBE #E69FD4

Accessibility & contrast

On white

4.36
#CC3EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CC3EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EA8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EA8#FFFFFF#000000##000000
##CC3EA81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#7481A5
Tritanopia (blue-blind)
#D8426E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3ea8;
/* rgb */ color: rgb(204, 62, 168);
/* oklch */ color: oklch(60.4% 0.209 339.7);
Tailwind
colors: {
  custom: {
    50: '#df7fc2',
    500: '#cc3ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ea8;
$custom-light: #df7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ea8",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 315.211,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.20876,
    "h": 339.7
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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