#CC426E#CC426E

#CC426E is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.6% C 0.176 H 5.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC426E
RGBrgb(204, 66, 110)
HSLhsl(341, 58%, 53%)
HSVhsv(341, 68%, 80%)
CMYKcmyk(0%, 67.6%, 46.1%, 20%)
CIE-LABlab(49.33, 57.57, 5.72)
CIE-LCHlch(49.33, 57.86, 5.67°)
OKLaboklab(58.6% 0.1758 0.0153)
OKLCHoklch(58.6% 0.176 5)
XYZxyz(29.6668, 17.8633, 16.6346)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC426E #42CCA0
analogous
#CC42B3 #CC426E #CC5B42
triadic
#CC426E #6ECC42 #426ECC
tetradic
#CC426E #B3CC42 #42CCA0 #5B42CC
square
#CC426E #B3CC42 #42CCA0 #5B42CC
split-complementary
#CC426E #42CC5B #42B3CC
monochromatic
#741F3A #A42C53 #CC426E #D97293 #E6A2B8

Accessibility & contrast

On white

4.59
#CC426E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CC426E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC426E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC426E#FFFFFF#000000##FFFFFF
##CC426E1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60646F
Deuteranopia (green-blind)
#857F6B
Tritanopia (blue-blind)
#DD2D54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc426e;
/* rgb */ color: rgb(204, 66, 110);
/* oklch */ color: oklch(58.6% 0.176 5.0);
Tailwind
colors: {
  custom: {
    50: '#e17f97',
    500: '#cc426e',
    950: '#000000',
  },
}
SCSS
$custom: #cc426e;
$custom-light: #e17f97;
$custom-dark: #000000;
JSON
{
  "hex": "#cc426e",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 110
  },
  "hsl": {
    "h": 340.87,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.17644,
    "h": 5
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

primary
#CC426E
secondary
#97D3C0
accent
#E1B047
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC426E

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

Preview Lab → · Contrast checker → · Palette generator →

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