#CC307A#CC307A

#CC307A is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.200 H 357.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC307A
RGBrgb(204, 48, 122)
HSLhsl(332, 62%, 49%)
HSVhsv(332, 76%, 80%)
CMYKcmyk(0%, 76.5%, 40.2%, 20%)
CIE-LABlab(47.44, 64.97, -4.33)
CIE-LCHlch(47.44, 65.11, 356.19°)
OKLaboklab(57.33% 0.1997 -0.0106)
OKLCHoklch(57.33% 0.2 357)
XYZxyz(29.4738, 16.3602, 20.0143)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC307A #30CC82
analogous
#CC30C8 #CC307A #CC3430
triadic
#CC307A #7ACC30 #307ACC
tetradic
#CC307A #C8CC30 #30CC82 #3430CC
square
#CC307A #C8CC30 #30CC82 #3430CC
split-complementary
#CC307A #30CC34 #30C8CC
monochromatic
#69193F #9A245C #CC307A #DA6099 #E591B9

Accessibility & contrast

On white

4.92
#CC307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CC307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC307A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC307A#FFFFFF#000000##FFFFFF
##CC307A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7C
Deuteranopia (green-blind)
#7C7B76
Tritanopia (blue-blind)
#DD1851
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc307a;
/* rgb */ color: rgb(204, 48, 122);
/* oklch */ color: oklch(57.3% 0.200 357.0);
Tailwind
colors: {
  custom: {
    50: '#e177a0',
    500: '#cc307a',
    950: '#000000',
  },
}
SCSS
$custom: #cc307a;
$custom-light: #e177a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc307a",
  "rgb": {
    "r": 204,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 331.538,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.19997,
    "h": 357
  },
  "luminance": 0.16356
}

Semantic roles & 50–950 ramp

primary
#CC307A
secondary
#88D0AE
accent
#E59843
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC307A

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

Preview Lab → · Contrast checker → · Palette generator →

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