#CC5294#CC5294

#CC5294 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.7% C 0.170 H 349.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CC5294
RGBrgb(204, 82, 148)
HSLhsl(328, 54%, 56%)
HSVhsv(328, 60%, 80%)
CMYKcmyk(0%, 59.8%, 27.5%, 20%)
CIE-LABlab(52.96, 55.10, -11.69)
CIE-LCHlch(52.96, 56.33, 348.02°)
OKLaboklab(61.68% 0.1669 -0.0305)
OKLCHoklch(61.68% 0.17 349.6)
XYZxyz(33.2658, 21.0133, 30.3153)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5294 #52CC8A
analogous
#C752CC #CC5294 #CC5257
triadic
#CC5294 #94CC52 #5294CC
tetradic
#CC5294 #CCC752 #52CC8A #5257CC
square
#CC5294 #CCC752 #52CC8A #5257CC
split-complementary
#CC5294 #57CC52 #52CCC7
monochromatic
#7E2555 #AE3375 #CC5294 #DA81B1 #E8B1CE

Accessibility & contrast

On white

4.04
#CC5294 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CC5294 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5294
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5294#FFFFFF#000000##000000
##CC52941.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#617196
Deuteranopia (green-blind)
#838691
Tritanopia (blue-blind)
#DA4D6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5294;
/* rgb */ color: rgb(204, 82, 148);
/* oklch */ color: oklch(61.7% 0.170 349.6);
Tailwind
colors: {
  custom: {
    50: '#df89b3',
    500: '#cc5294',
    950: '#000000',
  },
}
SCSS
$custom: #cc5294;
$custom-light: #df89b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5294",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 327.541,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61678,
    "c": 0.16968,
    "h": 349.6
  },
  "luminance": 0.2101
}

Semantic roles & 50–950 ramp

primary
#CC5294
secondary
#A4D6BB
accent
#DE8E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5294

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

Preview Lab → · Contrast checker → · Palette generator →

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