#CC4D7B#CC4D7B

#CC4D7B is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.2% C 0.166 H 1.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC4D7B
RGBrgb(204, 77, 123)
HSLhsl(338, 55%, 55%)
HSVhsv(338, 62%, 80%)
CMYKcmyk(0%, 62.3%, 39.7%, 20%)
CIE-LABlab(51.36, 54.33, 0.81)
CIE-LCHlch(51.36, 54.34, 0.85°)
OKLaboklab(60.22% 0.1659 0.0028)
OKLCHoklch(60.22% 0.166 1)
XYZxyz(31.1329, 19.5787, 20.8746)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4D7B #4DCC9E
analogous
#CC4DBA #CC4D7B #CC5F4D
triadic
#CC4D7B #7BCC4D #4D7BCC
tetradic
#CC4D7B #BACC4D #4DCC9E #5F4DCC
square
#CC4D7B #BACC4D #4DCC9E #5F4DCC
split-complementary
#CC4D7B #4DCC5F #4DBACC
monochromatic
#7B2343 #AB315D #CC4D7B #DA7D9E #E7ACC2

Accessibility & contrast

On white

4.27
#CC4D7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CC4D7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4D7B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4D7B#FFFFFF#000000##000000
##CC4D7B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7C
Deuteranopia (green-blind)
#878378
Tritanopia (blue-blind)
#DC405F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4d7b;
/* rgb */ color: rgb(204, 77, 123);
/* oklch */ color: oklch(60.2% 0.166 1.0);
Tailwind
colors: {
  custom: {
    50: '#e085a1',
    500: '#cc4d7b',
    950: '#000000',
  },
}
SCSS
$custom: #cc4d7b;
$custom-light: #e085a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4d7b",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 338.268,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60225,
    "c": 0.16597,
    "h": 1
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#CC4D7B
secondary
#A0D5C2
accent
#DFA949
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC4D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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