#CC4070#CC4070

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

Color values

HEX#CC4070
RGBrgb(204, 64, 112)
HSLhsl(339, 58%, 53%)
HSVhsv(339, 69%, 80%)
CMYKcmyk(0%, 68.6%, 45.1%, 20%)
CIE-LABlab(49.10, 58.53, 4.18)
CIE-LCHlch(49.10, 58.68, 4.09°)
OKLaboklab(58.45% 0.179 0.0114)
OKLCHoklch(58.45% 0.179 3.6)
XYZxyz(29.6621, 17.6778, 17.1762)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4070 #40CC9C
analogous
#CC40B6 #CC4070 #CC5640
triadic
#CC4070 #70CC40 #4070CC
tetradic
#CC4070 #B6CC40 #40CC9C #5640CC
square
#CC4070 #B6CC40 #40CC9C #5640CC
split-complementary
#CC4070 #40CC56 #40B6CC
monochromatic
#731F3C #A32C55 #CC4070 #D97094 #E6A1B8

Accessibility & contrast

On white

4.63
#CC4070 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CC4070 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4070
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4070#FFFFFF#000000##FFFFFF
##CC40701.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6371
Deuteranopia (green-blind)
#847F6D
Tritanopia (blue-blind)
#DD2B53
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4070;
/* rgb */ color: rgb(204, 64, 112);
/* oklch */ color: oklch(58.5% 0.179 3.6);
Tailwind
colors: {
  custom: {
    50: '#e17e98',
    500: '#cc4070',
    950: '#000000',
  },
}
SCSS
$custom: #cc4070;
$custom-light: #e17e98;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4070",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 112
  },
  "hsl": {
    "h": 339.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.17931,
    "h": 3.6
  },
  "luminance": 0.17674
}

Semantic roles & 50–950 ramp

primary
#CC4070
secondary
#95D2BD
accent
#E1AC47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC4070

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

Preview Lab → · Contrast checker → · Palette generator →

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