#CC4F7D#CC4F7D

#CC4F7D is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.5% C 0.164 H 0.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CC4F7D
RGBrgb(204, 79, 125)
HSLhsl(338, 55%, 55%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 61.3%, 38.7%, 20%)
CIE-LABlab(51.74, 53.67, 0.17)
CIE-LCHlch(51.74, 53.67, 0.18°)
OKLaboklab(60.53% 0.1639 0.0011)
OKLCHoklch(60.53% 0.164 0.4)
XYZxyz(31.4014, 19.9135, 21.5881)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F7D #4FCC9E
analogous
#CC4FBB #CC4F7D #CC5F4F
triadic
#CC4F7D #7DCC4F #4F7DCC
tetradic
#CC4F7D #BBCC4F #4FCC9E #5F4FCC
square
#CC4F7D #BBCC4F #4FCC9E #5F4FCC
split-complementary
#CC4F7D #4FCC5F #4FBBCC
monochromatic
#7D2445 #AC325F #CC4F7D #DA7EA0 #E7AEC3

Accessibility & contrast

On white

4.22
#CC4F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CC4F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F7D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F7D#FFFFFF#000000##000000
##CC4F7D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DC4361
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4f7d;
/* rgb */ color: rgb(204, 79, 125);
/* oklch */ color: oklch(60.5% 0.164 0.4);
Tailwind
colors: {
  custom: {
    50: '#e086a2',
    500: '#cc4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f7d;
$custom-light: #e086a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f7d",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 337.92,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.16389,
    "h": 0.4
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#CC4F7D
secondary
#A1D5C2
accent
#DEA849
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CC4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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