#CC3EB2#CC3EB2

#CC3EB2 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.8% C 0.216 H 336.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC3EB2
RGBrgb(204, 62, 178)
HSLhsl(311, 58%, 52%)
HSVhsv(311, 70%, 80%)
CMYKcmyk(0%, 69.6%, 12.7%, 20%)
CIE-LABlab(51.27, 67.28, -31.94)
CIE-LCHlch(51.27, 74.47, 334.60°)
OKLaboklab(60.83% 0.1972 -0.087)
OKLCHoklch(60.83% 0.216 336.2)
XYZxyz(34.6609, 19.5000, 44.0493)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EB2 #3ECC58
analogous
#9F3ECC #CC3EB2 #CC3E6B
triadic
#CC3EB2 #B2CC3E #3EB2CC
tetradic
#CC3EB2 #CC9F3E #3ECC58 #3E6BCC
square
#CC3EB2 #CC9F3E #3ECC58 #3E6BCC
split-complementary
#CC3EB2 #6BCC3E #3ECC9F
monochromatic
#721E62 #A22B8C #CC3EB2 #D96EC5 #E69FD9

Accessibility & contrast

On white

4.29
#CC3EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CC3EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EB2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EB2#FFFFFF#000000##000000
##CC3EB21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#D64773
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3eb2;
/* rgb */ color: rgb(204, 62, 178);
/* oklch */ color: oklch(60.8% 0.216 336.2);
Tailwind
colors: {
  custom: {
    50: '#df7fc9',
    500: '#cc3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc3eb2;
$custom-light: #df7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3eb2",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 310.986,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.21552,
    "h": 336.2
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#CC3EB2
secondary
#94D29F
accent
#E16346
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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