#CC426B#CC426B

#CC426B is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.5% C 0.176 H 6.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CC426B
RGBrgb(204, 66, 107)
HSLhsl(342, 58%, 53%)
HSVhsv(342, 68%, 80%)
CMYKcmyk(0%, 67.6%, 47.5%, 20%)
CIE-LABlab(49.25, 57.30, 7.43)
CIE-LCHlch(49.25, 57.78, 7.39°)
OKLaboklab(58.52% 0.1747 0.0195)
OKLCHoklch(58.52% 0.176 6.4)
XYZxyz(29.5063, 17.7991, 15.7889)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC426B #42CCA3
analogous
#CC42B0 #CC426B #CC5E42
triadic
#CC426B #6BCC42 #426BCC
tetradic
#CC426B #B0CC42 #42CCA3 #5E42CC
square
#CC426B #B0CC42 #42CCA3 #5E42CC
split-complementary
#CC426B #42CC5E #42B0CC
monochromatic
#741F39 #A42C50 #CC426B #D97291 #E6A2B6

Accessibility & contrast

On white

4.61
#CC426B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CC426B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC426B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC426B#FFFFFF#000000##FFFFFF
##CC426B1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61646C
Deuteranopia (green-blind)
#857F68
Tritanopia (blue-blind)
#DE2C52
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc426b;
/* rgb */ color: rgb(204, 66, 107);
/* oklch */ color: oklch(58.5% 0.176 6.4);
Tailwind
colors: {
  custom: {
    50: '#e17f95',
    500: '#cc426b',
    950: '#000000',
  },
}
SCSS
$custom: #cc426b;
$custom-light: #e17f95;
$custom-dark: #000000;
JSON
{
  "hex": "#cc426b",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 107
  },
  "hsl": {
    "h": 342.174,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.17578,
    "h": 6.4
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

primary
#CC426B
secondary
#97D3C1
accent
#E1B347
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC426B

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

Preview Lab → · Contrast checker → · Palette generator →

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