#CC428A#CC428A

#CC428A is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.5% C 0.187 H 352.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CC428A
RGBrgb(204, 66, 138)
HSLhsl(329, 58%, 53%)
HSVhsv(329, 68%, 80%)
CMYKcmyk(0%, 67.6%, 32.4%, 20%)
CIE-LABlab(50.18, 60.52, -9.92)
CIE-LCHlch(50.18, 61.33, 350.69°)
OKLaboklab(59.51% 0.1848 -0.0256)
OKLCHoklch(59.51% 0.187 352.1)
XYZxyz(31.4392, 18.5723, 25.9690)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC428A #42CC84
analogous
#C942CC #CC428A #CC4245
triadic
#CC428A #8ACC42 #428ACC
tetradic
#CC428A #CCC942 #42CC84 #4245CC
square
#CC428A #CCC942 #42CC84 #4245CC
split-complementary
#CC428A #45CC42 #42CCC9
monochromatic
#741F4C #A42C6B #CC428A #D972A8 #E6A2C6

Accessibility & contrast

On white

4.46
#CC428A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CC428A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC428A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC428A#FFFFFF#000000##000000
##CC428A1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#58688C
Deuteranopia (green-blind)
#7F8187
Tritanopia (blue-blind)
#DB3960
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc428a;
/* rgb */ color: rgb(204, 66, 138);
/* oklch */ color: oklch(59.5% 0.187 352.1);
Tailwind
colors: {
  custom: {
    50: '#e080ac',
    500: '#cc428a',
    950: '#000000',
  },
}
SCSS
$custom: #cc428a;
$custom-light: #e080ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc428a",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 328.696,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59511,
    "c": 0.18655,
    "h": 352.1
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#CC428A
secondary
#97D3B4
accent
#E19147
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC428A

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

Preview Lab → · Contrast checker → · Palette generator →

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