#CC307B#CC307B

#CC307B is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.4% C 0.200 H 356.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC307B
RGBrgb(204, 48, 123)
HSLhsl(331, 62%, 49%)
HSVhsv(331, 76%, 80%)
CMYKcmyk(0%, 76.5%, 39.7%, 20%)
CIE-LABlab(47.48, 65.07, -4.89)
CIE-LCHlch(47.48, 65.25, 355.70°)
OKLaboklab(57.36% 0.2 -0.012)
OKLCHoklch(57.36% 0.2 356.6)
XYZxyz(29.5360, 16.3851, 20.3423)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC307B #30CC81
analogous
#CC30C9 #CC307B #CC3330
triadic
#CC307B #7BCC30 #307BCC
tetradic
#CC307B #C9CC30 #30CC81 #3330CC
square
#CC307B #C9CC30 #30CC81 #3330CC
split-complementary
#CC307B #30CC33 #30C9CC
monochromatic
#69193F #9A245D #CC307B #DA609A #E591BA

Accessibility & contrast

On white

4.91
#CC307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CC307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC307B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC307B#FFFFFF#000000##FFFFFF
##CC307B1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7D
Deuteranopia (green-blind)
#7C7B77
Tritanopia (blue-blind)
#DD1852
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc307b;
/* rgb */ color: rgb(204, 48, 123);
/* oklch */ color: oklch(57.4% 0.200 356.6);
Tailwind
colors: {
  custom: {
    50: '#e177a1',
    500: '#cc307b',
    950: '#000000',
  },
}
SCSS
$custom: #cc307b;
$custom-light: #e177a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc307b",
  "rgb": {
    "r": 204,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 331.154,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.20035,
    "h": 356.6
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#CC307B
secondary
#88D0AD
accent
#E59743
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC307B

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

Preview Lab → · Contrast checker → · Palette generator →

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