#CC4FA1#CC4FA1

#CC4FA1 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.182 H 343.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CC4FA1
RGBrgb(204, 79, 161)
HSLhsl(321, 55%, 55%)
HSVhsv(321, 61%, 80%)
CMYKcmyk(0%, 61.3%, 21.1%, 20%)
CIE-LABlab(52.96, 58.17, -19.37)
CIE-LCHlch(52.96, 61.31, 341.59°)
OKLaboklab(61.83% 0.1742 -0.0516)
OKLCHoklch(61.83% 0.182 343.5)
XYZxyz(34.1318, 21.0057, 35.9682)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FA1 #4FCC7A
analogous
#B84FCC #CC4FA1 #CC4F62
triadic
#CC4FA1 #A1CC4F #4FA1CC
tetradic
#CC4FA1 #CCB84F #4FCC7A #4F62CC
square
#CC4FA1 #CCB84F #4FCC7A #4F62CC
split-complementary
#CC4FA1 #62CC4F #4FCCB8
monochromatic
#7D245E #AC3282 #CC4FA1 #DA7EBA #E7AED4

Accessibility & contrast

On white

4.04
#CC4FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CC4FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FA1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FA1#FFFFFF#000000##000000
##CC4FA11.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A4
Deuteranopia (green-blind)
#7E869E
Tritanopia (blue-blind)
#D84F71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4fa1;
/* rgb */ color: rgb(204, 79, 161);
/* oklch */ color: oklch(61.8% 0.182 343.5);
Tailwind
colors: {
  custom: {
    50: '#df87bd',
    500: '#cc4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fa1;
$custom-light: #df87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fa1",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 320.64,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61828,
    "c": 0.18171,
    "h": 343.5
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#CC4FA1
secondary
#A1D5B3
accent
#DE7D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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