#CC327E#CC327E

#CC327E is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.6% C 0.200 H 355.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CC327E
RGBrgb(204, 50, 126)
HSLhsl(330, 61%, 50%)
HSVhsv(330, 75%, 80%)
CMYKcmyk(0%, 75.5%, 38.2%, 20%)
CIE-LABlab(47.79, 64.76, -6.26)
CIE-LCHlch(47.79, 65.06, 354.48°)
OKLaboklab(57.62% 0.1989 -0.0157)
OKLCHoklch(57.62% 0.2 355.5)
XYZxyz(29.8104, 16.6287, 21.3745)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC327E #32CC80
analogous
#CC32CB #CC327E #CC3332
triadic
#CC327E #7ECC32 #327ECC
tetradic
#CC327E #CBCC32 #32CC80 #3332CC
square
#CC327E #CBCC32 #32CC80 #3332CC
split-complementary
#CC327E #32CC33 #32CBCC
monochromatic
#6A1A41 #9B2660 #CC327E #D9639D #E594BC

Accessibility & contrast

On white

4.86
#CC327E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CC327E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC327E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC327E#FFFFFF#000000##FFFFFF
##CC327E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F80
Deuteranopia (green-blind)
#7C7C7B
Tritanopia (blue-blind)
#DC1E54
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc327e;
/* rgb */ color: rgb(204, 50, 126);
/* oklch */ color: oklch(57.6% 0.200 355.5);
Tailwind
colors: {
  custom: {
    50: '#e178a3',
    500: '#cc327e',
    950: '#000000',
  },
}
SCSS
$custom: #cc327e;
$custom-light: #e178a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc327e",
  "rgb": {
    "r": 204,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 330.39,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.19956,
    "h": 355.5
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#CC327E
secondary
#8AD0AD
accent
#E49544
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC327E

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

Preview Lab → · Contrast checker → · Palette generator →

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