#CC5273#CC5273

#CC5273 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.6% C 0.157 H 6.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CC5273
RGBrgb(204, 82, 115)
HSLhsl(344, 54%, 56%)
HSVhsv(344, 60%, 80%)
CMYKcmyk(0%, 59.8%, 43.6%, 20%)
CIE-LABlab(51.97, 51.28, 6.48)
CIE-LCHlch(51.97, 51.69, 7.20°)
OKLaboklab(60.61% 0.1561 0.0172)
OKLCHoklch(60.61% 0.157 6.3)
XYZxyz(31.0158, 20.1133, 18.4652)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5273 #52CCAB
analogous
#CC52B0 #CC5273 #CC6E52
triadic
#CC5273 #73CC52 #5273CC
tetradic
#CC5273 #B0CC52 #52CCAB #6E52CC
square
#CC5273 #B0CC52 #52CCAB #6E52CC
split-complementary
#CC5273 #52CC6E #52B0CC
monochromatic
#7E253D #AE3354 #CC5273 #DA8199 #E8B1BF

Accessibility & contrast

On white

4.18
#CC5273 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CC5273 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5273
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5273#FFFFFF#000000##000000
##CC52731.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6D74
Deuteranopia (green-blind)
#8A8570
Tritanopia (blue-blind)
#DD435F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc5273;
/* rgb */ color: rgb(204, 82, 115);
/* oklch */ color: oklch(60.6% 0.157 6.3);
Tailwind
colors: {
  custom: {
    50: '#e0889b',
    500: '#cc5273',
    950: '#000000',
  },
}
SCSS
$custom: #cc5273;
$custom-light: #e0889b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5273",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 115
  },
  "hsl": {
    "h": 343.77,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60606,
    "c": 0.15706,
    "h": 6.3
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

primary
#CC5273
secondary
#A4D6C8
accent
#DEB64A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5273

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

Preview Lab → · Contrast checker → · Palette generator →

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