#CC4F9F#CC4F9F

#CC4F9F is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.180 H 344.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CC4F9F
RGBrgb(204, 79, 159)
HSLhsl(322, 55%, 55%)
HSVhsv(322, 61%, 80%)
CMYKcmyk(0%, 61.3%, 22.1%, 20%)
CIE-LABlab(52.88, 57.89, -18.31)
CIE-LCHlch(52.88, 60.72, 342.45°)
OKLaboklab(61.75% 0.1738 -0.0487)
OKLCHoklch(61.75% 0.18 344.4)
XYZxyz(33.9569, 20.9357, 35.0468)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F9F #4FCC7C
analogous
#BA4FCC #CC4F9F #CC4F60
triadic
#CC4F9F #9FCC4F #4F9FCC
tetradic
#CC4F9F #CCBA4F #4FCC7C #4F60CC
square
#CC4F9F #CCBA4F #4FCC7C #4F60CC
split-complementary
#CC4F9F #60CC4F #4FCCBA
monochromatic
#7D245D #AC3280 #CC4F9F #DA7EB9 #E7AED3

Accessibility & contrast

On white

4.05
#CC4F9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CC4F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F9F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F9F#FFFFFF#000000##000000
##CC4F9F1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A1
Deuteranopia (green-blind)
#7E869C
Tritanopia (blue-blind)
#D84E70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4f9f;
/* rgb */ color: rgb(204, 79, 159);
/* oklch */ color: oklch(61.7% 0.180 344.4);
Tailwind
colors: {
  custom: {
    50: '#df87bb',
    500: '#cc4f9f',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f9f;
$custom-light: #df87bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f9f",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 321.6,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.18046,
    "h": 344.4
  },
  "luminance": 0.20933
}

Semantic roles & 50–950 ramp

primary
#CC4F9F
secondary
#A1D5B4
accent
#DE7F49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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