#CC427E#CC427E

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

Color values

HEX#CC427E
RGBrgb(204, 66, 126)
HSLhsl(334, 58%, 53%)
HSVhsv(334, 68%, 80%)
CMYKcmyk(0%, 67.6%, 38.2%, 20%)
CIE-LABlab(49.79, 59.17, -3.29)
CIE-LCHlch(49.79, 59.27, 356.82°)
OKLaboklab(59.09% 0.1812 -0.0079)
OKLCHoklch(59.09% 0.181 357.5)
XYZxyz(30.6179, 18.2438, 21.6436)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC427E #42CC90
analogous
#CC42C3 #CC427E #CC4B42
triadic
#CC427E #7ECC42 #427ECC
tetradic
#CC427E #C3CC42 #42CC90 #4B42CC
square
#CC427E #C3CC42 #42CC90 #4B42CC
split-complementary
#CC427E #42CC4B #42C3CC
monochromatic
#741F44 #A42C61 #CC427E #D9729F #E6A2C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC427E#FFFFFF#000000##000000
##CC427E1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc427e;
/* rgb */ color: rgb(204, 66, 126);
/* oklch */ color: oklch(59.1% 0.181 357.5);
Tailwind
colors: {
  custom: {
    50: '#e080a3',
    500: '#cc427e',
    950: '#000000',
  },
}
SCSS
$custom: #cc427e;
$custom-light: #e080a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc427e",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 333.913,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59093,
    "c": 0.18138,
    "h": 357.5
  },
  "luminance": 0.1824
}

Semantic roles & 50–950 ramp

primary
#CC427E
secondary
#97D3B9
accent
#E19E47
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC427E

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

Preview Lab → · Contrast checker → · Palette generator →

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