#CC427F#CC427F

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

Color values

HEX#CC427F
RGBrgb(204, 66, 127)
HSLhsl(333, 58%, 53%)
HSVhsv(333, 68%, 80%)
CMYKcmyk(0%, 67.6%, 37.7%, 20%)
CIE-LABlab(49.82, 59.28, -3.85)
CIE-LCHlch(49.82, 59.41, 356.29°)
OKLaboklab(59.13% 0.1815 -0.0094)
OKLCHoklch(59.13% 0.182 357)
XYZxyz(30.6828, 18.2697, 21.9852)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC427F #42CC8F
analogous
#CC42C4 #CC427F #CC4A42
triadic
#CC427F #7FCC42 #427FCC
tetradic
#CC427F #C4CC42 #42CC8F #4A42CC
square
#CC427F #C4CC42 #42CC8F #4A42CC
split-complementary
#CC427F #42CC4A #42C4CC
monochromatic
#741F45 #A42C61 #CC427F #D972A0 #E6A2C0

Accessibility & contrast

On white

4.51
#CC427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CC427F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC427F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC427F#FFFFFF#000000##000000
##CC427F1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6681
Deuteranopia (green-blind)
#81807C
Tritanopia (blue-blind)
#DC345B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc427f;
/* rgb */ color: rgb(204, 66, 127);
/* oklch */ color: oklch(59.1% 0.182 357.0);
Tailwind
colors: {
  custom: {
    50: '#e080a4',
    500: '#cc427f',
    950: '#000000',
  },
}
SCSS
$custom: #cc427f;
$custom-light: #e080a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc427f",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 333.478,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59126,
    "c": 0.18177,
    "h": 357
  },
  "luminance": 0.18266
}

Semantic roles & 50–950 ramp

primary
#CC427F
secondary
#97D3B8
accent
#E19D47
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC427F

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

Preview Lab → · Contrast checker → · Palette generator →

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