#CC4A7D#CC4A7D

#CC4A7D is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.9% C 0.171 H 359.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC4A7D
RGBrgb(204, 74, 125)
HSLhsl(336, 56%, 55%)
HSVhsv(336, 64%, 80%)
CMYKcmyk(0%, 63.7%, 38.7%, 20%)
CIE-LABlab(50.94, 55.83, -1.00)
CIE-LCHlch(50.94, 55.84, 358.98°)
OKLaboklab(59.94% 0.1707 -0.0019)
OKLCHoklch(59.94% 0.171 359.4)
XYZxyz(31.0543, 19.2192, 21.4724)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A7D #4ACC99
analogous
#CC4ABE #CC4A7D #CC584A
triadic
#CC4A7D #7DCC4A #4A7DCC
tetradic
#CC4A7D #BECC4A #4ACC99 #584ACC
square
#CC4A7D #BECC4A #4ACC99 #584ACC
split-complementary
#CC4A7D #4ACC58 #4ABECC
monochromatic
#792244 #A9305F #CC4A7D #D97A9F #E7A9C2

Accessibility & contrast

On white

4.34
#CC4A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC4A7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A7D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A7D#FFFFFF#000000##000000
##CC4A7D1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#626A7E
Deuteranopia (green-blind)
#85827A
Tritanopia (blue-blind)
#DC3D5E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4a7d;
/* rgb */ color: rgb(204, 74, 125);
/* oklch */ color: oklch(59.9% 0.171 359.4);
Tailwind
colors: {
  custom: {
    50: '#e084a2',
    500: '#cc4a7d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a7d;
$custom-light: #e084a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a7d",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 336.462,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.17068,
    "h": 359.4
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#CC4A7D
secondary
#9DD4BF
accent
#DFA448
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC4A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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