#CC30AC#CC30AC

#CC30AC is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.4% C 0.226 H 337.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC30AC
RGBrgb(204, 48, 172)
HSLhsl(312, 62%, 49%)
HSVhsv(312, 76%, 80%)
CMYKcmyk(0%, 76.5%, 15.7%, 20%)
CIE-LABlab(49.41, 70.90, -31.31)
CIE-LCHlch(49.41, 77.50, 336.17°)
OKLaboklab(59.4% 0.2099 -0.0851)
OKLCHoklch(59.4% 0.226 337.9)
XYZxyz(33.4059, 17.9331, 40.7238)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC30AC #30CC50
analogous
#9E30CC #CC30AC #CC305E
triadic
#CC30AC #ACCC30 #30ACCC
tetradic
#CC30AC #CC9E30 #30CC50 #305ECC
square
#CC30AC #CC9E30 #30CC50 #305ECC
split-complementary
#CC30AC #5ECC30 #30CC9E
monochromatic
#691958 #9A2482 #CC30AC #DA60C1 #E591D4

Accessibility & contrast

On white

4.58
#CC30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CC30AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC30AC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC30AC#FFFFFF#000000##000000
##CC30AC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3766AF
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#D7396C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc30ac;
/* rgb */ color: rgb(204, 48, 172);
/* oklch */ color: oklch(59.4% 0.226 337.9);
Tailwind
colors: {
  custom: {
    50: '#e079c5',
    500: '#cc30ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc30ac;
$custom-light: #e079c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc30ac",
  "rgb": {
    "r": 204,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 312.308,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.22649,
    "h": 337.9
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#CC30AC
secondary
#88D097
accent
#E56443
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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