#CC4F7A#CC4F7A

#CC4F7A is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.163 H 1.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC4F7A
RGBrgb(204, 79, 122)
HSLhsl(339, 55%, 55%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 61.3%, 40.2%, 20%)
CIE-LABlab(51.65, 53.35, 1.84)
CIE-LCHlch(51.65, 53.38, 1.98°)
OKLaboklab(60.44% 0.1629 0.0054)
OKLCHoklch(60.44% 0.163 1.9)
XYZxyz(31.2127, 19.8380, 20.5940)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F7A #4FCCA1
analogous
#CC4FB8 #CC4F7A #CC624F
triadic
#CC4F7A #7ACC4F #4F7ACC
tetradic
#CC4F7A #B8CC4F #4FCCA1 #624FCC
square
#CC4F7A #B8CC4F #4FCCA1 #624FCC
split-complementary
#CC4F7A #4FCC62 #4FB8CC
monochromatic
#7D2443 #AC325C #CC4F7A #DA7E9E #E7AEC2

Accessibility & contrast

On white

4.23
#CC4F7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CC4F7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F7A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F7A#FFFFFF#000000##000000
##CC4F7A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7B
Deuteranopia (green-blind)
#888477
Tritanopia (blue-blind)
#DC4260
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4f7a;
/* rgb */ color: rgb(204, 79, 122);
/* oklch */ color: oklch(60.4% 0.163 1.9);
Tailwind
colors: {
  custom: {
    50: '#e086a0',
    500: '#cc4f7a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f7a;
$custom-light: #e086a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f7a",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 122
  },
  "hsl": {
    "h": 339.36,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.16295,
    "h": 1.9
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#CC4F7A
secondary
#A1D5C4
accent
#DEAB49
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC4F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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