#CC4F7C#CC4F7C

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

Color values

HEX#CC4F7C
RGBrgb(204, 79, 124)
HSLhsl(338, 55%, 55%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 61.3%, 39.2%, 20%)
CIE-LABlab(51.71, 53.56, 0.73)
CIE-LCHlch(51.71, 53.57, 0.78°)
OKLaboklab(60.5% 0.1636 0.0025)
OKLCHoklch(60.5% 0.164 0.9)
XYZxyz(31.3379, 19.8881, 21.2533)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F7C #4FCC9F
analogous
#CC4FBA #CC4F7C #CC604F
triadic
#CC4F7C #7CCC4F #4F7CCC
tetradic
#CC4F7C #BACC4F #4FCC9F #604FCC
square
#CC4F7C #BACC4F #4FCC9F #604FCC
split-complementary
#CC4F7C #4FCC60 #4FBACC
monochromatic
#7D2444 #AC325E #CC4F7C #DA7E9F #E7AEC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4F7C#FFFFFF#000000##000000
##CC4F7C1.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)
#666C7D
Deuteranopia (green-blind)
#878479
Tritanopia (blue-blind)
#DC4260
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4f7c;
/* rgb */ color: rgb(204, 79, 124);
/* oklch */ color: oklch(60.5% 0.164 0.9);
Tailwind
colors: {
  custom: {
    50: '#e086a1',
    500: '#cc4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f7c;
$custom-light: #e086a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f7c",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 338.4,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.16357,
    "h": 0.9
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#CC4F7C
secondary
#A1D5C3
accent
#DEA949
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CC4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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