#CC426F#CC426F

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

Color values

HEX#CC426F
RGBrgb(204, 66, 111)
HSLhsl(340, 58%, 53%)
HSVhsv(340, 68%, 80%)
CMYKcmyk(0%, 67.6%, 45.6%, 20%)
CIE-LABlab(49.36, 57.67, 5.15)
CIE-LCHlch(49.36, 57.90, 5.11°)
OKLaboklab(58.63% 0.1761 0.0138)
OKLCHoklch(58.63% 0.177 4.5)
XYZxyz(29.7216, 17.8852, 16.9229)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC426F #42CC9F
analogous
#CC42B4 #CC426F #CC5A42
triadic
#CC426F #6FCC42 #426FCC
tetradic
#CC426F #B4CC42 #42CC9F #5A42CC
square
#CC426F #B4CC42 #42CC9F #5A42CC
split-complementary
#CC426F #42CC5A #42B4CC
monochromatic
#741F3B #A42C54 #CC426F #D97294 #E6A2B8

Accessibility & contrast

On white

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

On black

4.58
#CC426F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC426F#FFFFFF#000000##FFFFFF
##CC426F1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606470
Deuteranopia (green-blind)
#847F6C
Tritanopia (blue-blind)
#DD2E54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc426f;
/* rgb */ color: rgb(204, 66, 111);
/* oklch */ color: oklch(58.6% 0.177 4.5);
Tailwind
colors: {
  custom: {
    50: '#e17f98',
    500: '#cc426f',
    950: '#000000',
  },
}
SCSS
$custom: #cc426f;
$custom-light: #e17f98;
$custom-dark: #000000;
JSON
{
  "hex": "#cc426f",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 111
  },
  "hsl": {
    "h": 340.435,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.17668,
    "h": 4.5
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#CC426F
secondary
#97D3BF
accent
#E1AF47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC426F

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

Preview Lab → · Contrast checker → · Palette generator →

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