#CC3474#CC3474

#CC3474 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.5% C 0.194 H 360.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC3474
RGBrgb(204, 52, 116)
HSLhsl(335, 60%, 50%)
HSVhsv(335, 75%, 80%)
CMYKcmyk(0%, 74.5%, 43.1%, 20%)
CIE-LABlab(47.70, 63.14, -0.29)
CIE-LCHlch(47.70, 63.14, 359.73°)
OKLaboklab(57.45% 0.1938 0)
OKLCHoklch(57.45% 0.194 0)
XYZxyz(29.2844, 16.5581, 18.1736)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3474 #34CC8C
analogous
#CC34C0 #CC3474 #CC4034
triadic
#CC3474 #74CC34 #3474CC
tetradic
#CC3474 #C0CC34 #34CC8C #4034CC
square
#CC3474 #C0CC34 #34CC8C #4034CC
split-complementary
#CC3474 #34CC40 #34C0CC
monochromatic
#6B1B3C #9C2758 #CC3474 #D86595 #E596B7

Accessibility & contrast

On white

4.87
#CC3474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CC3474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3474
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3474#FFFFFF#000000##FFFFFF
##CC34741.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565F76
Deuteranopia (green-blind)
#7F7C70
Tritanopia (blue-blind)
#DD1A50
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc3474;
/* rgb */ color: rgb(204, 52, 116);
/* oklch */ color: oklch(57.5% 0.194 360.0);
Tailwind
colors: {
  custom: {
    50: '#e1799b',
    500: '#cc3474',
    950: '#000000',
  },
}
SCSS
$custom: #cc3474;
$custom-light: #e1799b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3474",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 334.737,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57452,
    "c": 0.19383,
    "h": 360
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

primary
#CC3474
secondary
#8CD0B3
accent
#E3A045
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3474

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

Preview Lab → · Contrast checker → · Palette generator →

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