#CC4870#CC4870

#CC4870 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.3% C 0.170 H 5.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC4870
RGBrgb(204, 72, 112)
HSLhsl(342, 56%, 54%)
HSVhsv(342, 65%, 80%)
CMYKcmyk(0%, 64.7%, 45.1%, 20%)
CIE-LABlab(50.27, 55.34, 5.86)
CIE-LCHlch(50.27, 55.65, 6.04°)
OKLaboklab(59.32% 0.1688 0.0156)
OKLCHoklch(59.32% 0.17 5.3)
XYZxyz(30.1461, 18.6456, 17.3376)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4870 #48CCA4
analogous
#CC48B2 #CC4870 #CC6248
triadic
#CC4870 #70CC48 #4870CC
tetradic
#CC4870 #B2CC48 #48CCA4 #6248CC
square
#CC4870 #B2CC48 #48CCA4 #6248CC
split-complementary
#CC4870 #48CC62 #48B2CC
monochromatic
#78213C #A82F54 #CC4870 #D97895 #E7A8BB

Accessibility & contrast

On white

4.44
#CC4870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC4870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4870
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4870#FFFFFF#000000##000000
##CC48701.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646771
Deuteranopia (green-blind)
#87816D
Tritanopia (blue-blind)
#DD3658
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4870;
/* rgb */ color: rgb(204, 72, 112);
/* oklch */ color: oklch(59.3% 0.170 5.3);
Tailwind
colors: {
  custom: {
    50: '#e18298',
    500: '#cc4870',
    950: '#000000',
  },
}
SCSS
$custom: #cc4870;
$custom-light: #e18298;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4870",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 341.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59316,
    "c": 0.16951,
    "h": 5.3
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#CC4870
secondary
#9CD4C3
accent
#E0B248
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC4870

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

Preview Lab → · Contrast checker → · Palette generator →

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