#CC30AE#CC30AE

#CC30AE is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.5% C 0.228 H 337.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC30AE
RGBrgb(204, 48, 174)
HSLhsl(312, 62%, 49%)
HSVhsv(312, 76%, 80%)
CMYKcmyk(0%, 76.5%, 14.7%, 20%)
CIE-LABlab(49.51, 71.17, -32.34)
CIE-LCHlch(49.51, 78.18, 335.56°)
OKLaboklab(59.5% 0.2101 -0.088)
OKLCHoklch(59.5% 0.228 337.3)
XYZxyz(33.5995, 18.0105, 41.7430)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC30AE #30CC4E
analogous
#9C30CC #CC30AE #CC3060
triadic
#CC30AE #AECC30 #30AECC
tetradic
#CC30AE #CC9C30 #30CC4E #3060CC
square
#CC30AE #CC9C30 #30CC4E #3060CC
split-complementary
#CC30AE #60CC30 #30CC9C
monochromatic
#691959 #9A2484 #CC30AE #DA60C2 #E591D5

Accessibility & contrast

On white

4.56
#CC30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC30AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC30AE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC30AE#FFFFFF#000000##000000
##CC30AE1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#D73A6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc30ae;
/* rgb */ color: rgb(204, 48, 174);
/* oklch */ color: oklch(59.5% 0.228 337.3);
Tailwind
colors: {
  custom: {
    50: '#e079c6',
    500: '#cc30ae',
    950: '#000000',
  },
}
SCSS
$custom: #cc30ae;
$custom-light: #e079c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc30ae",
  "rgb": {
    "r": 204,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 311.538,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.22779,
    "h": 337.3
  },
  "luminance": 0.18007
}

Semantic roles & 50–950 ramp

primary
#CC30AE
secondary
#88D096
accent
#E56243
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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