#CC4C98#CC4C98

#CC4C98 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.181 H 347.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CC4C98
RGBrgb(204, 76, 152)
HSLhsl(324, 56%, 55%)
HSVhsv(324, 63%, 80%)
CMYKcmyk(0%, 62.7%, 25.5%, 20%)
CIE-LABlab(52.15, 58.23, -15.29)
CIE-LCHlch(52.15, 60.20, 345.29°)
OKLaboklab(61.12% 0.176 -0.0403)
OKLCHoklch(61.12% 0.181 347.1)
XYZxyz(33.1550, 20.2765, 31.8673)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C98 #4CCC80
analogous
#C04CCC #CC4C98 #CC4C58
triadic
#CC4C98 #98CC4C #4C98CC
tetradic
#CC4C98 #CCC04C #4CCC80 #4C58CC
square
#CC4C98 #CCC04C #4CCC80 #4C58CC
split-complementary
#CC4C98 #58CC4C #4CCCC0
monochromatic
#7B2357 #AA3179 #CC4C98 #DA7CB3 #E7ABCF

Accessibility & contrast

On white

4.15
#CC4C98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CC4C98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C98
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C98#FFFFFF#000000##000000
##CC4C981.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E9A
Deuteranopia (green-blind)
#7F8495
Tritanopia (blue-blind)
#D9496B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4c98;
/* rgb */ color: rgb(204, 76, 152);
/* oklch */ color: oklch(61.1% 0.181 347.1);
Tailwind
colors: {
  custom: {
    50: '#df85b6',
    500: '#cc4c98',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c98;
$custom-light: #df85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c98",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 324.375,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61122,
    "c": 0.18054,
    "h": 347.1
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#CC4C98
secondary
#9FD5B5
accent
#DF8649
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4C98

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

Preview Lab → · Contrast checker → · Palette generator →

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