#CC4A98#CC4A98

#CC4A98 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.183 H 346.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC4A98
RGBrgb(204, 74, 152)
HSLhsl(324, 56%, 55%)
HSVhsv(324, 64%, 80%)
CMYKcmyk(0%, 63.7%, 25.5%, 20%)
CIE-LABlab(51.84, 59.06, -15.75)
CIE-LCHlch(51.84, 61.13, 345.06°)
OKLaboklab(60.9% 0.1785 -0.0416)
OKLCHoklch(60.9% 0.183 346.9)
XYZxyz(33.0194, 20.0052, 31.8221)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A98 #4ACC7E
analogous
#BF4ACC #CC4A98 #CC4A57
triadic
#CC4A98 #98CC4A #4A98CC
tetradic
#CC4A98 #CCBF4A #4ACC7E #4A57CC
square
#CC4A98 #CCBF4A #4ACC7E #4A57CC
split-complementary
#CC4A98 #57CC4A #4ACCBF
monochromatic
#792257 #A93079 #CC4A98 #D97AB3 #E7A9CE

Accessibility & contrast

On white

4.20
#CC4A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CC4A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A98
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A98#FFFFFF#000000##000000
##CC4A981.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#596D9A
Deuteranopia (green-blind)
#7E8495
Tritanopia (blue-blind)
#D9476B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4a98;
/* rgb */ color: rgb(204, 74, 152);
/* oklch */ color: oklch(60.9% 0.183 346.9);
Tailwind
colors: {
  custom: {
    50: '#df84b6',
    500: '#cc4a98',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a98;
$custom-light: #df84b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a98",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 324,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60897,
    "c": 0.18332,
    "h": 346.9
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#CC4A98
secondary
#9DD4B3
accent
#DF8548
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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