#CC4FA5#CC4FA5

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

Color values

HEX#CC4FA5
RGBrgb(204, 79, 165)
HSLhsl(319, 55%, 55%)
HSVhsv(319, 61%, 80%)
CMYKcmyk(0%, 61.3%, 19.1%, 20%)
CIE-LABlab(53.11, 58.74, -21.47)
CIE-LCHlch(53.11, 62.54, 339.92°)
OKLaboklab(61.99% 0.1751 -0.0575)
OKLCHoklch(61.99% 0.184 341.8)
XYZxyz(34.4902, 21.1490, 37.8557)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FA5 #4FCC76
analogous
#B44FCC #CC4FA5 #CC4F66
triadic
#CC4FA5 #A5CC4F #4FA5CC
tetradic
#CC4FA5 #CCB44F #4FCC76 #4F66CC
square
#CC4FA5 #CCB44F #4FCC76 #4F66CC
split-complementary
#CC4FA5 #66CC4F #4FCCB4
monochromatic
#7D2461 #AC3286 #CC4FA5 #DA7EBD #E7AED6

Accessibility & contrast

On white

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

On black

5.23
#CC4FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FA5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FA5#FFFFFF#000000##000000
##CC4FA51.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5872A8
Deuteranopia (green-blind)
#7D86A2
Tritanopia (blue-blind)
#D85073
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4fa5;
/* rgb */ color: rgb(204, 79, 165);
/* oklch */ color: oklch(62.0% 0.184 341.8);
Tailwind
colors: {
  custom: {
    50: '#df87c0',
    500: '#cc4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fa5;
$custom-light: #df87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fa5",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 318.72,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61994,
    "c": 0.18431,
    "h": 341.8
  },
  "luminance": 0.21146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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