#CC4974#CC4974

#CC4974 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.5% C 0.169 H 3.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CC4974
RGBrgb(204, 73, 116)
HSLhsl(340, 56%, 54%)
HSVhsv(340, 64%, 80%)
CMYKcmyk(0%, 64.2%, 43.1%, 20%)
CIE-LABlab(50.53, 55.31, 3.82)
CIE-LCHlch(50.53, 55.44, 3.95°)
OKLaboklab(59.55% 0.1689 0.0105)
OKLCHoklch(59.55% 0.169 3.5)
XYZxyz(30.4389, 18.8671, 18.5584)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4974 #49CCA1
analogous
#CC49B6 #CC4974 #CC6049
triadic
#CC4974 #74CC49 #4974CC
tetradic
#CC4974 #B6CC49 #49CCA1 #6049CC
square
#CC4974 #B6CC49 #49CCA1 #6049CC
split-complementary
#CC4974 #49CC60 #49B6CC
monochromatic
#79223E #A92F57 #CC4974 #D97999 #E7A9BD

Accessibility & contrast

On white

4.40
#CC4974 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CC4974 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4974
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4974#FFFFFF#000000##000000
##CC49741.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#646875
Deuteranopia (green-blind)
#868271
Tritanopia (blue-blind)
#DD395A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4974;
/* rgb */ color: rgb(204, 73, 116);
/* oklch */ color: oklch(59.5% 0.169 3.5);
Tailwind
colors: {
  custom: {
    50: '#e0839b',
    500: '#cc4974',
    950: '#000000',
  },
}
SCSS
$custom: #cc4974;
$custom-light: #e0839b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4974",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 116
  },
  "hsl": {
    "h": 340.305,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.16922,
    "h": 3.5
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#CC4974
secondary
#9DD4C2
accent
#E0AE48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4974

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

Preview Lab → · Contrast checker → · Palette generator →

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