#CC5097#CC5097

#CC5097 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.174 H 348.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CC5097
RGBrgb(204, 80, 151)
HSLhsl(326, 55%, 56%)
HSVhsv(326, 61%, 80%)
CMYKcmyk(0%, 60.8%, 26%, 20%)
CIE-LABlab(52.74, 56.38, -13.80)
CIE-LCHlch(52.74, 58.04, 346.25°)
OKLaboklab(61.55% 0.1705 -0.0362)
OKLCHoklch(61.55% 0.174 348)
XYZxyz(33.3577, 20.8123, 31.5325)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5097 #50CC85
analogous
#C350CC #CC5097 #CC5059
triadic
#CC5097 #97CC50 #5097CC
tetradic
#CC5097 #CCC350 #50CC85 #5059CC
square
#CC5097 #CCC350 #50CC85 #5059CC
split-complementary
#CC5097 #59CC50 #50CCC3
monochromatic
#7D2457 #AD3278 #CC5097 #DA7FB3 #E8AFCF

Accessibility & contrast

On white

4.07
#CC5097 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CC5097 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5097
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5097#FFFFFF#000000##000000
##CC50971.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7099
Deuteranopia (green-blind)
#818694
Tritanopia (blue-blind)
#D94C6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5097;
/* rgb */ color: rgb(204, 80, 151);
/* oklch */ color: oklch(61.5% 0.174 348.0);
Tailwind
colors: {
  custom: {
    50: '#df88b5',
    500: '#cc5097',
    950: '#000000',
  },
}
SCSS
$custom: #cc5097;
$custom-light: #df88b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5097",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 325.645,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.17426,
    "h": 348
  },
  "luminance": 0.20809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5097

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

Preview Lab → · Contrast checker → · Palette generator →

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