#CC427D#CC427D

#CC427D is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.1% C 0.181 H 358.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC427D
RGBrgb(204, 66, 125)
HSLhsl(334, 58%, 53%)
HSVhsv(334, 68%, 80%)
CMYKcmyk(0%, 67.6%, 38.7%, 20%)
CIE-LABlab(49.76, 59.07, -2.73)
CIE-LCHlch(49.76, 59.13, 357.35°)
OKLaboklab(59.06% 0.1809 -0.0064)
OKLCHoklch(59.06% 0.181 358)
XYZxyz(30.5537, 18.2181, 21.3055)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC427D #42CC91
analogous
#CC42C2 #CC427D #CC4C42
triadic
#CC427D #7DCC42 #427DCC
tetradic
#CC427D #C2CC42 #42CC91 #4C42CC
square
#CC427D #C2CC42 #42CC91 #4C42CC
split-complementary
#CC427D #42CC4C #42C2CC
monochromatic
#741F44 #A42C60 #CC427D #D9729E #E6A2BF

Accessibility & contrast

On white

4.52
#CC427D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CC427D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC427D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC427D#FFFFFF#000000##000000
##CC427D1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C667F
Deuteranopia (green-blind)
#82807A
Tritanopia (blue-blind)
#DC335A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc427d;
/* rgb */ color: rgb(204, 66, 125);
/* oklch */ color: oklch(59.1% 0.181 358.0);
Tailwind
colors: {
  custom: {
    50: '#e080a2',
    500: '#cc427d',
    950: '#000000',
  },
}
SCSS
$custom: #cc427d;
$custom-light: #e080a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc427d",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 334.348,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5906,
    "c": 0.18101,
    "h": 358
  },
  "luminance": 0.18214
}

Semantic roles & 50–950 ramp

primary
#CC427D
secondary
#97D3B9
accent
#E19F47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC427D

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

Preview Lab → · Contrast checker → · Palette generator →

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