#CC428B#CC428B

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

Color values

HEX#CC428B
RGBrgb(204, 66, 139)
HSLhsl(328, 58%, 53%)
HSVhsv(328, 68%, 80%)
CMYKcmyk(0%, 67.6%, 31.9%, 20%)
CIE-LABlab(50.22, 60.64, -10.47)
CIE-LCHlch(50.22, 61.53, 350.20°)
OKLaboklab(59.55% 0.1851 -0.0271)
OKLCHoklch(59.55% 0.187 351.7)
XYZxyz(31.5119, 18.6014, 26.3520)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC428B #42CC83
analogous
#C842CC #CC428B #CC4246
triadic
#CC428B #8BCC42 #428BCC
tetradic
#CC428B #CCC842 #42CC83 #4246CC
square
#CC428B #CCC842 #42CC83 #4246CC
split-complementary
#CC428B #46CC42 #42CCC8
monochromatic
#741F4C #A42C6C #CC428B #D972A9 #E6A2C6

Accessibility & contrast

On white

4.45
#CC428B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CC428B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC428B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC428B#FFFFFF#000000##000000
##CC428B1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#57688D
Deuteranopia (green-blind)
#7E8188
Tritanopia (blue-blind)
#DB3961
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc428b;
/* rgb */ color: rgb(204, 66, 139);
/* oklch */ color: oklch(59.5% 0.187 351.7);
Tailwind
colors: {
  custom: {
    50: '#e080ac',
    500: '#cc428b',
    950: '#000000',
  },
}
SCSS
$custom: #cc428b;
$custom-light: #e080ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc428b",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 328.261,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.18704,
    "h": 351.7
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC428B

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

Preview Lab → · Contrast checker → · Palette generator →

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