#CC4FA4#CC4FA4

#CC4FA4 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.184 H 342.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CC4FA4
RGBrgb(204, 79, 164)
HSLhsl(319, 55%, 55%)
HSVhsv(319, 61%, 80%)
CMYKcmyk(0%, 61.3%, 19.6%, 20%)
CIE-LABlab(53.07, 58.59, -20.95)
CIE-LCHlch(53.07, 62.23, 340.33°)
OKLaboklab(61.95% 0.1749 -0.056)
OKLCHoklch(61.95% 0.184 342.2)
XYZxyz(34.3996, 21.1128, 37.3782)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FA4 #4FCC77
analogous
#B54FCC #CC4FA4 #CC4F65
triadic
#CC4FA4 #A4CC4F #4FA4CC
tetradic
#CC4FA4 #CCB54F #4FCC77 #4F65CC
square
#CC4FA4 #CCB54F #4FCC77 #4F65CC
split-complementary
#CC4FA4 #65CC4F #4FCCB5
monochromatic
#7D2460 #AC3285 #CC4FA4 #DA7EBD #E7AED5

Accessibility & contrast

On white

4.02
#CC4FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CC4FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FA4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FA4#FFFFFF#000000##000000
##CC4FA41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5872A7
Deuteranopia (green-blind)
#7D86A1
Tritanopia (blue-blind)
#D85072
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4fa4;
/* rgb */ color: rgb(204, 79, 164);
/* oklch */ color: oklch(62.0% 0.184 342.2);
Tailwind
colors: {
  custom: {
    50: '#df87bf',
    500: '#cc4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fa4;
$custom-light: #df87bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fa4",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 319.2,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.18365,
    "h": 342.2
  },
  "luminance": 0.2111
}

Semantic roles & 50–950 ramp

primary
#CC4FA4
secondary
#A1D5B2
accent
#DE7949
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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