#CC4F7E#CC4F7E

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

Color values

HEX#CC4F7E
RGBrgb(204, 79, 126)
HSLhsl(337, 55%, 55%)
HSVhsv(337, 61%, 80%)
CMYKcmyk(0%, 61.3%, 38.2%, 20%)
CIE-LABlab(51.77, 53.78, -0.39)
CIE-LCHlch(51.77, 53.78, 359.59°)
OKLaboklab(60.56% 0.1642 -0.0003)
OKLCHoklch(60.56% 0.164 359.9)
XYZxyz(31.4656, 19.9392, 21.9262)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F7E #4FCC9D
analogous
#CC4FBC #CC4F7E #CC5E4F
triadic
#CC4F7E #7ECC4F #4F7ECC
tetradic
#CC4F7E #BCCC4F #4FCC9D #5E4FCC
square
#CC4F7E #BCCC4F #4FCC9D #5E4FCC
split-complementary
#CC4F7E #4FCC5E #4FBCCC
monochromatic
#7D2445 #AC3260 #CC4F7E #DA7EA1 #E7AEC4

Accessibility & contrast

On white

4.21
#CC4F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CC4F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F7E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F7E#FFFFFF#000000##000000
##CC4F7E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc4f7e;
/* rgb */ color: rgb(204, 79, 126);
/* oklch */ color: oklch(60.6% 0.164 359.9);
Tailwind
colors: {
  custom: {
    50: '#e086a3',
    500: '#cc4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f7e;
$custom-light: #e086a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f7e",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 337.44,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.16423,
    "h": 359.9
  },
  "luminance": 0.19936
}

Semantic roles & 50–950 ramp

primary
#CC4F7E
secondary
#A1D5C2
accent
#DEA649
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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