#CC4A79#CC4A79

#CC4A79 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.8% C 0.169 H 1.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC4A79
RGBrgb(204, 74, 121)
HSLhsl(338, 56%, 55%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 63.7%, 40.7%, 20%)
CIE-LABlab(50.83, 55.40, 1.24)
CIE-LCHlch(50.83, 55.42, 1.28°)
OKLaboklab(59.81% 0.1693 0.0039)
OKLCHoklch(59.81% 0.169 1.3)
XYZxyz(30.8039, 19.1190, 20.1536)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A79 #4ACC9D
analogous
#CC4ABA #CC4A79 #CC5C4A
triadic
#CC4A79 #79CC4A #4A79CC
tetradic
#CC4A79 #BACC4A #4ACC9D #5C4ACC
square
#CC4A79 #BACC4A #4ACC9D #5C4ACC
split-complementary
#CC4A79 #4ACC5C #4ABACC
monochromatic
#792242 #A9305C #CC4A79 #D97A9C #E7A9C0

Accessibility & contrast

On white

4.35
#CC4A79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CC4A79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A79
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A79#FFFFFF#000000##000000
##CC4A791.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#63697A
Deuteranopia (green-blind)
#868276
Tritanopia (blue-blind)
#DC3C5D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4a79;
/* rgb */ color: rgb(204, 74, 121);
/* oklch */ color: oklch(59.8% 0.169 1.3);
Tailwind
colors: {
  custom: {
    50: '#e0849f',
    500: '#cc4a79',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a79;
$custom-light: #e0849f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a79",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 121
  },
  "hsl": {
    "h": 338.308,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59811,
    "c": 0.16936,
    "h": 1.3
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#CC4A79
secondary
#9DD4C1
accent
#DFA948
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4A79

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

Preview Lab → · Contrast checker → · Palette generator →

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