#CC456E#CC456E

#CC456E is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.9% C 0.173 H 5.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC456E
RGBrgb(204, 69, 110)
HSLhsl(342, 57%, 54%)
HSVhsv(342, 66%, 80%)
CMYKcmyk(0%, 66.2%, 46.1%, 20%)
CIE-LABlab(49.77, 56.38, 6.34)
CIE-LCHlch(49.77, 56.73, 6.42°)
OKLaboklab(58.92% 0.172 0.0168)
OKLCHoklch(58.92% 0.173 5.6)
XYZxyz(29.8467, 18.2231, 16.6945)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC456E #45CCA3
analogous
#CC45B1 #CC456E #CC5F45
triadic
#CC456E #6ECC45 #456ECC
tetradic
#CC456E #B1CC45 #45CCA3 #5F45CC
square
#CC456E #B1CC45 #45CCA3 #5F45CC
split-complementary
#CC456E #45CC5F #45B1CC
monochromatic
#76203A #A62E52 #CC456E #D97593 #E6A5B9

Accessibility & contrast

On white

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

On black

4.64
#CC456E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC456E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC456E#FFFFFF#000000##000000
##CC456E1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#62656F
Deuteranopia (green-blind)
#86806B
Tritanopia (blue-blind)
#DD3155
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc456e;
/* rgb */ color: rgb(204, 69, 110);
/* oklch */ color: oklch(58.9% 0.173 5.6);
Tailwind
colors: {
  custom: {
    50: '#e18197',
    500: '#cc456e',
    950: '#000000',
  },
}
SCSS
$custom: #cc456e;
$custom-light: #e18197;
$custom-dark: #000000;
JSON
{
  "hex": "#cc456e",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 110
  },
  "hsl": {
    "h": 341.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58924,
    "c": 0.1728,
    "h": 5.6
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#CC456E
secondary
#99D3C2
accent
#E0B248
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC456E

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

Preview Lab → · Contrast checker → · Palette generator →

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