#CC4074#CC4074

#CC4074 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.180 H 1.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CC4074
RGBrgb(204, 64, 116)
HSLhsl(338, 58%, 53%)
HSVhsv(338, 69%, 80%)
CMYKcmyk(0%, 68.6%, 43.1%, 20%)
CIE-LABlab(49.21, 58.92, 1.92)
CIE-LCHlch(49.21, 58.95, 1.86°)
OKLaboklab(58.57% 0.1804 0.0056)
OKLCHoklch(58.57% 0.18 1.8)
XYZxyz(29.8898, 17.7688, 18.3753)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4074 #40CC98
analogous
#CC40BA #CC4074 #CC5240
triadic
#CC4074 #74CC40 #4074CC
tetradic
#CC4074 #BACC40 #40CC98 #5240CC
square
#CC4074 #BACC40 #40CC98 #5240CC
split-complementary
#CC4074 #40CC52 #40BACC
monochromatic
#731F3E #A32C58 #CC4074 #D97097 #E6A1BA

Accessibility & contrast

On white

4.61
#CC4074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC4074
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4074#FFFFFF#000000##FFFFFF
##CC40741.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6475
Deuteranopia (green-blind)
#837F71
Tritanopia (blue-blind)
#DD2D55
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4074;
/* rgb */ color: rgb(204, 64, 116);
/* oklch */ color: oklch(58.6% 0.180 1.8);
Tailwind
colors: {
  custom: {
    50: '#e17e9b',
    500: '#cc4074',
    950: '#000000',
  },
}
SCSS
$custom: #cc4074;
$custom-light: #e17e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4074",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 337.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.18044,
    "h": 1.8
  },
  "luminance": 0.17765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4074

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

Preview Lab → · Contrast checker → · Palette generator →

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