#CC4FA8#CC4FA8

#CC4FA8 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.186 H 340.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CC4FA8
RGBrgb(204, 79, 168)
HSLhsl(317, 55%, 55%)
HSVhsv(317, 61%, 80%)
CMYKcmyk(0%, 61.3%, 17.6%, 20%)
CIE-LABlab(53.23, 59.17, -23.05)
CIE-LCHlch(53.23, 63.50, 338.72°)
OKLaboklab(62.12% 0.1757 -0.0619)
OKLCHoklch(62.12% 0.186 340.6)
XYZxyz(34.7665, 21.2595, 39.3107)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FA8 #4FCC73
analogous
#B14FCC #CC4FA8 #CC4F69
triadic
#CC4FA8 #A8CC4F #4FA8CC
tetradic
#CC4FA8 #CCB14F #4FCC73 #4F69CC
square
#CC4FA8 #CCB14F #4FCC73 #4F69CC
split-complementary
#CC4FA8 #69CC4F #4FCCB1
monochromatic
#7D2463 #AC3289 #CC4FA8 #DA7EBF #E7AED7

Accessibility & contrast

On white

4.00
#CC4FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CC4FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FA8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FA8#FFFFFF#000000##000000
##CC4FA81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672AB
Deuteranopia (green-blind)
#7C86A5
Tritanopia (blue-blind)
#D75174
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4fa8;
/* rgb */ color: rgb(204, 79, 168);
/* oklch */ color: oklch(62.1% 0.186 340.6);
Tailwind
colors: {
  custom: {
    50: '#df87c2',
    500: '#cc4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fa8;
$custom-light: #df87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fa8",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 317.28,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62122,
    "c": 0.18631,
    "h": 340.6
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#CC4FA8
secondary
#A1D5B0
accent
#DE7449
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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