#CC4071#CC4071

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

Color values

HEX#CC4071
RGBrgb(204, 64, 113)
HSLhsl(339, 58%, 53%)
HSVhsv(339, 69%, 80%)
CMYKcmyk(0%, 68.6%, 44.6%, 20%)
CIE-LABlab(49.13, 58.63, 3.61)
CIE-LCHlch(49.13, 58.74, 3.53°)
OKLaboklab(58.48% 0.1793 0.01)
OKLCHoklch(58.48% 0.18 3.2)
XYZxyz(29.7181, 17.7002, 17.4711)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4071 #40CC9B
analogous
#CC40B7 #CC4071 #CC5540
triadic
#CC4071 #71CC40 #4071CC
tetradic
#CC4071 #B7CC40 #40CC9B #5540CC
square
#CC4071 #B7CC40 #40CC9B #5540CC
split-complementary
#CC4071 #40CC55 #40B7CC
monochromatic
#731F3C #A32C55 #CC4071 #D97095 #E6A1B9

Accessibility & contrast

On white

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

On black

4.54
#CC4071 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC4071#FFFFFF#000000##FFFFFF
##CC40711.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#DD2C54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4071;
/* rgb */ color: rgb(204, 64, 113);
/* oklch */ color: oklch(58.5% 0.180 3.2);
Tailwind
colors: {
  custom: {
    50: '#e17e99',
    500: '#cc4071',
    950: '#000000',
  },
}
SCSS
$custom: #cc4071;
$custom-light: #e17e99;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4071",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 339,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5848,
    "c": 0.17959,
    "h": 3.2
  },
  "luminance": 0.17696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4071

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

Preview Lab → · Contrast checker → · Palette generator →

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