#CC4798#CC4798

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

Color values

HEX#CC4798
RGBrgb(204, 71, 152)
HSLhsl(323, 57%, 54%)
HSVhsv(323, 65%, 80%)
CMYKcmyk(0%, 65.2%, 25.5%, 20%)
CIE-LABlab(51.40, 60.29, -16.43)
CIE-LCHlch(51.40, 62.48, 344.75°)
OKLaboklab(60.57% 0.1823 -0.0434)
OKLCHoklch(60.57% 0.187 346.6)
XYZxyz(32.8239, 19.6142, 31.7569)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4798 #47CC7B
analogous
#BE47CC #CC4798 #CC4756
triadic
#CC4798 #98CC47 #4798CC
tetradic
#CC4798 #CCBE47 #47CC7B #4756CC
square
#CC4798 #CCBE47 #47CC7B #4756CC
split-complementary
#CC4798 #56CC47 #47CCBE
monochromatic
#772156 #A72E78 #CC4798 #D977B3 #E7A7CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4798#FFFFFF#000000##000000
##CC47981.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)
#566C9A
Deuteranopia (green-blind)
#7D8395
Tritanopia (blue-blind)
#D94469
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4798;
/* rgb */ color: rgb(204, 71, 152);
/* oklch */ color: oklch(60.6% 0.187 346.6);
Tailwind
colors: {
  custom: {
    50: '#df83b6',
    500: '#cc4798',
    950: '#000000',
  },
}
SCSS
$custom: #cc4798;
$custom-light: #df83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4798",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 323.459,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.1874,
    "h": 346.6
  },
  "luminance": 0.19611
}

Semantic roles & 50–950 ramp

primary
#CC4798
secondary
#9BD4B1
accent
#E08348
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC4798

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

Preview Lab → · Contrast checker → · Palette generator →

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