#CC4073#CC4073

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

Color values

HEX#CC4073
RGBrgb(204, 64, 115)
HSLhsl(338, 58%, 53%)
HSVhsv(338, 69%, 80%)
CMYKcmyk(0%, 68.6%, 43.6%, 20%)
CIE-LABlab(49.19, 58.82, 2.48)
CIE-LCHlch(49.19, 58.87, 2.42°)
OKLaboklab(58.54% 0.18 0.0071)
OKLCHoklch(58.54% 0.18 2.2)
XYZxyz(29.8320, 17.7457, 18.0706)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4073 #40CC99
analogous
#CC40B9 #CC4073 #CC5340
triadic
#CC4073 #73CC40 #4073CC
tetradic
#CC4073 #B9CC40 #40CC99 #5340CC
square
#CC4073 #B9CC40 #40CC99 #5340CC
split-complementary
#CC4073 #40CC53 #40B9CC
monochromatic
#731F3D #A32C57 #CC4073 #D97096 #E6A1BA

Accessibility & contrast

On white

4.62
#CC4073 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#CC4073 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4073
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4073#FFFFFF#000000##FFFFFF
##CC40731.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6474
Deuteranopia (green-blind)
#837F70
Tritanopia (blue-blind)
#DD2C55
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4073;
/* rgb */ color: rgb(204, 64, 115);
/* oklch */ color: oklch(58.5% 0.180 2.2);
Tailwind
colors: {
  custom: {
    50: '#e17e9b',
    500: '#cc4073',
    950: '#000000',
  },
}
SCSS
$custom: #cc4073;
$custom-light: #e17e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4073",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 338.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.18014,
    "h": 2.2
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#CC4073
secondary
#95D2BC
accent
#E1A947
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4073

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

Preview Lab → · Contrast checker → · Palette generator →

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