#CC5E8A#CC5E8A

#CC5E8A is a light, vivid pink. Relative luminance 0.227; OKLCH L 62.9% C 0.147 H 357.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CC5E8A
RGBrgb(204, 94, 138)
HSLhsl(336, 52%, 58%)
HSVhsv(336, 54%, 80%)
CMYKcmyk(0%, 53.9%, 32.4%, 20%)
CIE-LABlab(54.74, 48.24, -3.14)
CIE-LCHlch(54.74, 48.34, 356.27°)
OKLaboklab(62.9% 0.1466 -0.0076)
OKLCHoklch(62.9% 0.147 357)
XYZxyz(33.4935, 22.6810, 26.6538)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5E8A #5ECCA0
analogous
#CC5EC1 #CC5E8A #CC695E
triadic
#CC5E8A #8ACC5E #5E8ACC
tetradic
#CC5E8A #C1CC5E #5ECCA0 #695ECC
square
#CC5E8A #C1CC5E #5ECCA0 #695ECC
split-complementary
#CC5E8A #5ECC69 #5EC1CC
monochromatic
#852A4F #B4396A #CC5E8A #DB8CAC #E9BBCE

Accessibility & contrast

On white

3.79
#CC5E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CC5E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5E8A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5E8A#FFFFFF#000000##000000
##CC5E8A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F768B
Deuteranopia (green-blind)
#8B8B87
Tritanopia (blue-blind)
#DA576F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc5e8a;
/* rgb */ color: rgb(204, 94, 138);
/* oklch */ color: oklch(62.9% 0.147 357.0);
Tailwind
colors: {
  custom: {
    50: '#df90ac',
    500: '#cc5e8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc5e8a;
$custom-light: #df90ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5e8a",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 336,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62896,
    "c": 0.14683,
    "h": 357
  },
  "luminance": 0.22678
}

Semantic roles & 50–950 ramp

primary
#CC5E8A
secondary
#ADD9C7
accent
#DBA24C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC5E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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