#CC5293#CC5293

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

Color values

HEX#CC5293
RGBrgb(204, 82, 147)
HSLhsl(328, 54%, 56%)
HSVhsv(328, 60%, 80%)
CMYKcmyk(0%, 59.8%, 27.9%, 20%)
CIE-LABlab(52.93, 54.97, -11.15)
CIE-LCHlch(52.93, 56.09, 348.53°)
OKLaboklab(61.64% 0.1666 -0.029)
OKLCHoklch(61.64% 0.169 350.1)
XYZxyz(33.1870, 20.9818, 29.9002)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5293 #52CC8B
analogous
#C852CC #CC5293 #CC5256
triadic
#CC5293 #93CC52 #5293CC
tetradic
#CC5293 #CCC852 #52CC8B #5256CC
square
#CC5293 #CCC852 #52CC8B #5256CC
split-complementary
#CC5293 #56CC52 #52CCC8
monochromatic
#7E2555 #AE3374 #CC5293 #DA81B1 #E8B1CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5293#FFFFFF#000000##000000
##CC52931.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)
#627195
Deuteranopia (green-blind)
#838690
Tritanopia (blue-blind)
#DA4D6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5293;
/* rgb */ color: rgb(204, 82, 147);
/* oklch */ color: oklch(61.6% 0.169 350.1);
Tailwind
colors: {
  custom: {
    50: '#df89b2',
    500: '#cc5293',
    950: '#000000',
  },
}
SCSS
$custom: #cc5293;
$custom-light: #df89b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5293",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 328.033,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.16915,
    "h": 350.1
  },
  "luminance": 0.20979
}

Semantic roles & 50–950 ramp

primary
#CC5293
secondary
#A4D6BB
accent
#DE8F4A
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5293

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

Preview Lab → · Contrast checker → · Palette generator →

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