#CC428C#CC428C

#CC428C is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.6% C 0.188 H 351.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC428C
RGBrgb(204, 66, 140)
HSLhsl(328, 58%, 53%)
HSVhsv(328, 68%, 80%)
CMYKcmyk(0%, 67.6%, 31.4%, 20%)
CIE-LABlab(50.25, 60.76, -11.02)
CIE-LCHlch(50.25, 61.75, 349.72°)
OKLaboklab(59.58% 0.1853 -0.0285)
OKLCHoklch(59.58% 0.188 351.2)
XYZxyz(31.5853, 18.6307, 26.7386)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC428C #42CC82
analogous
#C742CC #CC428C #CC4247
triadic
#CC428C #8CCC42 #428CCC
tetradic
#CC428C #CCC742 #42CC82 #4247CC
square
#CC428C #CCC742 #42CC82 #4247CC
split-complementary
#CC428C #47CC42 #42CCC7
monochromatic
#741F4D #A42C6D #CC428C #D972A9 #E6A2C7

Accessibility & contrast

On white

4.44
#CC428C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC428C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC428C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC428C#FFFFFF#000000##000000
##CC428C1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#57688E
Deuteranopia (green-blind)
#7E8189
Tritanopia (blue-blind)
#DB3A61
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc428c;
/* rgb */ color: rgb(204, 66, 140);
/* oklch */ color: oklch(59.6% 0.188 351.2);
Tailwind
colors: {
  custom: {
    50: '#e080ad',
    500: '#cc428c',
    950: '#000000',
  },
}
SCSS
$custom: #cc428c;
$custom-light: #e080ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc428c",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 327.826,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59584,
    "c": 0.18752,
    "h": 351.2
  },
  "luminance": 0.18627
}

Semantic roles & 50–950 ramp

primary
#CC428C
secondary
#97D3B3
accent
#E18E47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC428C

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

Preview Lab → · Contrast checker → · Palette generator →

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