#CC3478#CC3478

#CC3478 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.6% C 0.195 H 358.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC3478
RGBrgb(204, 52, 120)
HSLhsl(333, 60%, 50%)
HSVhsv(333, 75%, 80%)
CMYKcmyk(0%, 74.5%, 41.2%, 20%)
CIE-LABlab(47.82, 63.53, -2.56)
CIE-LCHlch(47.82, 63.58, 357.70°)
OKLaboklab(57.58% 0.1951 -0.0059)
OKLCHoklch(57.58% 0.195 358.3)
XYZxyz(29.5221, 16.6532, 19.4254)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3478 #34CC88
analogous
#CC34C4 #CC3478 #CC3C34
triadic
#CC3478 #78CC34 #3478CC
tetradic
#CC3478 #C4CC34 #34CC88 #3C34CC
square
#CC3478 #C4CC34 #34CC88 #3C34CC
split-complementary
#CC3478 #34CC3C #34C4CC
monochromatic
#6B1B3F #9C275B #CC3478 #D86599 #E596B9

Accessibility & contrast

On white

4.85
#CC3478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#CC3478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3478
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3478#FFFFFF#000000##FFFFFF
##CC34781.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F7A
Deuteranopia (green-blind)
#7E7C75
Tritanopia (blue-blind)
#DD1D52
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc3478;
/* rgb */ color: rgb(204, 52, 120);
/* oklch */ color: oklch(57.6% 0.195 358.3);
Tailwind
colors: {
  custom: {
    50: '#e1799e',
    500: '#cc3478',
    950: '#000000',
  },
}
SCSS
$custom: #cc3478;
$custom-light: #e1799e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3478",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 333.158,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.1952,
    "h": 358.3
  },
  "luminance": 0.16649
}

Semantic roles & 50–950 ramp

primary
#CC3478
secondary
#8CD0B1
accent
#E39C45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3478

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

Preview Lab → · Contrast checker → · Palette generator →

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