#CC4F9E#CC4F9E

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

Color values

HEX#CC4F9E
RGBrgb(204, 79, 158)
HSLhsl(322, 55%, 55%)
HSVhsv(322, 61%, 80%)
CMYKcmyk(0%, 61.3%, 22.5%, 20%)
CIE-LABlab(52.84, 57.76, -17.78)
CIE-LCHlch(52.84, 60.43, 342.89°)
OKLaboklab(61.71% 0.1735 -0.0472)
OKLCHoklch(61.71% 0.18 344.8)
XYZxyz(33.8705, 20.9011, 34.5916)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F9E #4FCC7D
analogous
#BB4FCC #CC4F9E #CC4F5F
triadic
#CC4F9E #9ECC4F #4F9ECC
tetradic
#CC4F9E #CCBB4F #4FCC7D #4F5FCC
square
#CC4F9E #CCBB4F #4FCC7D #4F5FCC
split-complementary
#CC4F9E #5FCC4F #4FCCBB
monochromatic
#7D245C #AC327F #CC4F9E #DA7EB8 #E7AED2

Accessibility & contrast

On white

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

On black

5.18
#CC4F9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F9E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F9E#FFFFFF#000000##000000
##CC4F9E1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B71A0
Deuteranopia (green-blind)
#7F869B
Tritanopia (blue-blind)
#D94E70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4f9e;
/* rgb */ color: rgb(204, 79, 158);
/* oklch */ color: oklch(61.7% 0.180 344.8);
Tailwind
colors: {
  custom: {
    50: '#df87ba',
    500: '#cc4f9e',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f9e;
$custom-light: #df87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f9e",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 322.08,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.17984,
    "h": 344.8
  },
  "luminance": 0.20898
}

Semantic roles & 50–950 ramp

primary
#CC4F9E
secondary
#A1D5B5
accent
#DE8049
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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