#CC4FA6#CC4FA6

#CC4FA6 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.185 H 341.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CC4FA6
RGBrgb(204, 79, 166)
HSLhsl(318, 55%, 55%)
HSVhsv(318, 61%, 80%)
CMYKcmyk(0%, 61.3%, 18.6%, 20%)
CIE-LABlab(53.15, 58.88, -22.00)
CIE-LCHlch(53.15, 62.85, 339.51°)
OKLaboklab(62.04% 0.1753 -0.059)
OKLCHoklch(62.04% 0.185 341.4)
XYZxyz(34.5816, 21.1856, 38.3369)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FA6 #4FCC75
analogous
#B34FCC #CC4FA6 #CC4F67
triadic
#CC4FA6 #A6CC4F #4FA6CC
tetradic
#CC4FA6 #CCB34F #4FCC75 #4F67CC
square
#CC4FA6 #CCB34F #4FCC75 #4F67CC
split-complementary
#CC4FA6 #67CC4F #4FCCB3
monochromatic
#7D2462 #AC3287 #CC4FA6 #DA7EBE #E7AED6

Accessibility & contrast

On white

4.01
#CC4FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CC4FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FA6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FA6#FFFFFF#000000##000000
##CC4FA61.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772A9
Deuteranopia (green-blind)
#7C86A3
Tritanopia (blue-blind)
#D85173
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4fa6;
/* rgb */ color: rgb(204, 79, 166);
/* oklch */ color: oklch(62.0% 0.185 341.4);
Tailwind
colors: {
  custom: {
    50: '#df87c0',
    500: '#cc4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fa6;
$custom-light: #df87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fa6",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 318.24,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62036,
    "c": 0.18497,
    "h": 341.4
  },
  "luminance": 0.21183
}

Semantic roles & 50–950 ramp

primary
#CC4FA6
secondary
#A1D5B1
accent
#DE7749
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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