#CC3EA7#CC3EA7

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

Color values

HEX#CC3EA7
RGBrgb(204, 62, 167)
HSLhsl(316, 58%, 52%)
HSVhsv(316, 70%, 80%)
CMYKcmyk(0%, 69.6%, 18.1%, 20%)
CIE-LABlab(50.78, 65.71, -26.25)
CIE-LCHlch(50.78, 70.76, 338.22°)
OKLaboklab(60.31% 0.1957 -0.0708)
OKLCHoklch(60.31% 0.208 340.1)
XYZxyz(33.6004, 19.0758, 38.4642)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EA7 #3ECC63
analogous
#AA3ECC #CC3EA7 #CC3E60
triadic
#CC3EA7 #A7CC3E #3EA7CC
tetradic
#CC3EA7 #CCAA3E #3ECC63 #3E60CC
square
#CC3EA7 #CCAA3E #3ECC63 #3E60CC
split-complementary
#CC3EA7 #60CC3E #3ECCAA
monochromatic
#721E5C #A22B83 #CC3EA7 #D96EBD #E69FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3EA7#FFFFFF#000000##000000
##CC3EA71.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#476AAA
Deuteranopia (green-blind)
#7481A4
Tritanopia (blue-blind)
#D8426D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3ea7;
/* rgb */ color: rgb(204, 62, 167);
/* oklch */ color: oklch(60.3% 0.208 340.1);
Tailwind
colors: {
  custom: {
    50: '#df7fc1',
    500: '#cc3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ea7;
$custom-light: #df7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ea7",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 315.634,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60312,
    "c": 0.20812,
    "h": 340.1
  },
  "luminance": 0.19073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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