#CC3EB3#CC3EB3

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

Color values

HEX#CC3EB3
RGBrgb(204, 62, 179)
HSLhsl(311, 58%, 52%)
HSVhsv(311, 70%, 80%)
CMYKcmyk(0%, 69.6%, 12.3%, 20%)
CIE-LABlab(51.31, 67.42, -32.45)
CIE-LCHlch(51.31, 74.83, 334.30°)
OKLaboklab(60.88% 0.1973 -0.0884)
OKLCHoklch(60.88% 0.216 335.9)
XYZxyz(34.7616, 19.5403, 44.5800)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EB3 #3ECC57
analogous
#9E3ECC #CC3EB3 #CC3E6C
triadic
#CC3EB3 #B3CC3E #3EB3CC
tetradic
#CC3EB3 #CC9E3E #3ECC57 #3E6CCC
square
#CC3EB3 #CC9E3E #3ECC57 #3E6CCC
split-complementary
#CC3EB3 #6CCC3E #3ECC9E
monochromatic
#721E63 #A22B8D #CC3EB3 #D96EC6 #E69FD9

Accessibility & contrast

On white

4.28
#CC3EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC3EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EB3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EB3#FFFFFF#000000##000000
##CC3EB31.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB6
Deuteranopia (green-blind)
#7082B0
Tritanopia (blue-blind)
#D64874
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3eb3;
/* rgb */ color: rgb(204, 62, 179);
/* oklch */ color: oklch(60.9% 0.216 335.9);
Tailwind
colors: {
  custom: {
    50: '#df7fca',
    500: '#cc3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #cc3eb3;
$custom-light: #df7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3eb3",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 310.563,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.21622,
    "h": 335.9
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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