#CC427A#CC427A

#CC427A is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.0% C 0.180 H 359.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CC427A
RGBrgb(204, 66, 122)
HSLhsl(336, 58%, 53%)
HSVhsv(336, 68%, 80%)
CMYKcmyk(0%, 67.6%, 40.2%, 20%)
CIE-LABlab(49.67, 58.75, -1.05)
CIE-LCHlch(49.67, 58.76, 358.97°)
OKLaboklab(58.96% 0.1799 -0.002)
OKLCHoklch(58.96% 0.18 359.3)
XYZxyz(30.3650, 18.1426, 20.3114)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC427A #42CC94
analogous
#CC42BF #CC427A #CC4F42
triadic
#CC427A #7ACC42 #427ACC
tetradic
#CC427A #BFCC42 #42CC94 #4F42CC
square
#CC427A #BFCC42 #42CC94 #4F42CC
split-complementary
#CC427A #42CC4F #42BFCC
monochromatic
#741F42 #A42C5D #CC427A #D9729C #E6A2BE

Accessibility & contrast

On white

4.54
#CC427A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CC427A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC427A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC427A#FFFFFF#000000##000000
##CC427A1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D657B
Deuteranopia (green-blind)
#828077
Tritanopia (blue-blind)
#DC3259
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc427a;
/* rgb */ color: rgb(204, 66, 122);
/* oklch */ color: oklch(59.0% 0.180 359.3);
Tailwind
colors: {
  custom: {
    50: '#e080a0',
    500: '#cc427a',
    950: '#000000',
  },
}
SCSS
$custom: #cc427a;
$custom-light: #e080a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc427a",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 335.652,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.17993,
    "h": 359.3
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#CC427A
secondary
#97D3BB
accent
#E1A247
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC427A

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

Preview Lab → · Contrast checker → · Palette generator →

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