#CC4F97#CC4F97

#CC4F97 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.176 H 347.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CC4F97
RGBrgb(204, 79, 151)
HSLhsl(325, 55%, 55%)
HSVhsv(325, 61%, 80%)
CMYKcmyk(0%, 61.3%, 26%, 20%)
CIE-LABlab(52.58, 56.81, -14.04)
CIE-LCHlch(52.58, 58.52, 346.12°)
OKLaboklab(61.43% 0.1718 -0.0369)
OKLCHoklch(61.43% 0.176 347.9)
XYZxyz(33.2850, 20.6670, 31.5083)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F97 #4FCC84
analogous
#C24FCC #CC4F97 #CC4F58
triadic
#CC4F97 #97CC4F #4F97CC
tetradic
#CC4F97 #CCC24F #4FCC84 #4F58CC
square
#CC4F97 #CCC24F #4FCC84 #4F58CC
split-complementary
#CC4F97 #58CC4F #4FCCC2
monochromatic
#7D2457 #AC3278 #CC4F97 #DA7EB3 #E7AECF

Accessibility & contrast

On white

4.09
#CC4F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CC4F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F97
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F97#FFFFFF#000000##000000
##CC4F971.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7099
Deuteranopia (green-blind)
#818594
Tritanopia (blue-blind)
#D94B6C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4f97;
/* rgb */ color: rgb(204, 79, 151);
/* oklch */ color: oklch(61.4% 0.176 347.9);
Tailwind
colors: {
  custom: {
    50: '#df87b5',
    500: '#cc4f97',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f97;
$custom-light: #df87b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f97",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 325.44,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.17571,
    "h": 347.9
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#CC4F97
secondary
#A1D5B7
accent
#DE8949
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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