#CC4F7F#CC4F7F

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

Color values

HEX#CC4F7F
RGBrgb(204, 79, 127)
HSLhsl(337, 55%, 55%)
HSVhsv(337, 61%, 80%)
CMYKcmyk(0%, 61.3%, 37.7%, 20%)
CIE-LABlab(51.80, 53.89, -0.94)
CIE-LCHlch(51.80, 53.90, 359.00°)
OKLaboklab(60.59% 0.1646 -0.0018)
OKLCHoklch(60.59% 0.165 359.4)
XYZxyz(31.5305, 19.9651, 22.2677)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F7F #4FCC9C
analogous
#CC4FBD #CC4F7F #CC5D4F
triadic
#CC4F7F #7FCC4F #4F7FCC
tetradic
#CC4F7F #BDCC4F #4FCC9C #5D4FCC
square
#CC4F7F #BDCC4F #4FCC9C #5D4FCC
split-complementary
#CC4F7F #4FCC5D #4FBDCC
monochromatic
#7D2446 #AC3261 #CC4F7F #DA7EA2 #E7AEC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4F7F#FFFFFF#000000##000000
##CC4F7F1.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)
#656D80
Deuteranopia (green-blind)
#87847C
Tritanopia (blue-blind)
#DC4362
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4f7f;
/* rgb */ color: rgb(204, 79, 127);
/* oklch */ color: oklch(60.6% 0.165 359.4);
Tailwind
colors: {
  custom: {
    50: '#e087a4',
    500: '#cc4f7f',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f7f;
$custom-light: #e087a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f7f",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 336.96,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6059,
    "c": 0.16458,
    "h": 359.4
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#CC4F7F
secondary
#A1D5C1
accent
#DEA549
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC4F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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