#CC5898#CC5898

#CC5898 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.6% C 0.163 H 348.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CC5898
RGBrgb(204, 88, 152)
HSLhsl(327, 53%, 57%)
HSVhsv(327, 57%, 80%)
CMYKcmyk(0%, 56.9%, 25.5%, 20%)
CIE-LABlab(54.12, 52.91, -12.31)
CIE-LCHlch(54.12, 54.32, 346.90°)
OKLaboklab(62.58% 0.1597 -0.0322)
OKLCHoklch(62.58% 0.163 348.6)
XYZxyz(34.0603, 22.0870, 32.1691)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5898 #58CC8C
analogous
#C658CC #CC5898 #CC585E
triadic
#CC5898 #98CC58 #5898CC
tetradic
#CC5898 #CCC658 #58CC8C #585ECC
square
#CC5898 #CCC658 #58CC8C #585ECC
split-complementary
#CC5898 #5ECC58 #58CCC6
monochromatic
#822859 #B1367A #CC5898 #DA87B5 #E9B6D2

Accessibility & contrast

On white

3.88
#CC5898 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CC5898 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5898
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5898#FFFFFF#000000##000000
##CC58981.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#65759A
Deuteranopia (green-blind)
#858995
Tritanopia (blue-blind)
#D95571
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5898;
/* rgb */ color: rgb(204, 88, 152);
/* oklch */ color: oklch(62.6% 0.163 348.6);
Tailwind
colors: {
  custom: {
    50: '#df8cb6',
    500: '#cc5898',
    950: '#000000',
  },
}
SCSS
$custom: #cc5898;
$custom-light: #df8cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5898",
  "rgb": {
    "r": 204,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 326.897,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6258,
    "c": 0.1629,
    "h": 348.6
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#CC5898
secondary
#A8D7BD
accent
#DD8C4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5898

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

Preview Lab → · Contrast checker → · Palette generator →

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