#CC5098#CC5098

#CC5098 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.175 H 347.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CC5098
RGBrgb(204, 80, 152)
HSLhsl(325, 55%, 56%)
HSVhsv(325, 61%, 80%)
CMYKcmyk(0%, 60.8%, 25.5%, 20%)
CIE-LABlab(52.78, 56.51, -14.33)
CIE-LCHlch(52.78, 58.30, 345.77°)
OKLaboklab(61.59% 0.1707 -0.0377)
OKLCHoklch(61.59% 0.175 347.5)
XYZxyz(33.4392, 20.8449, 31.9621)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5098 #50CC84
analogous
#C250CC #CC5098 #CC505A
triadic
#CC5098 #98CC50 #5098CC
tetradic
#CC5098 #CCC250 #50CC84 #505ACC
square
#CC5098 #CCC250 #50CC84 #505ACC
split-complementary
#CC5098 #5ACC50 #50CCC2
monochromatic
#7D2458 #AD3279 #CC5098 #DA7FB4 #E8AFD0

Accessibility & contrast

On white

4.06
#CC5098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CC5098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5098
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5098#FFFFFF#000000##000000
##CC50981.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E709A
Deuteranopia (green-blind)
#818695
Tritanopia (blue-blind)
#D94D6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5098;
/* rgb */ color: rgb(204, 80, 152);
/* oklch */ color: oklch(61.6% 0.175 347.5);
Tailwind
colors: {
  custom: {
    50: '#df88b6',
    500: '#cc5098',
    950: '#000000',
  },
}
SCSS
$custom: #cc5098;
$custom-light: #df88b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5098",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 325.161,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61587,
    "c": 0.17482,
    "h": 347.5
  },
  "luminance": 0.20842
}

Semantic roles & 50–950 ramp

primary
#CC5098
secondary
#A2D6B8
accent
#DE884A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5098

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

Preview Lab → · Contrast checker → · Palette generator →

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