#CC5295#CC5295

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

Color values

HEX#CC5295
RGBrgb(204, 82, 149)
HSLhsl(327, 54%, 56%)
HSVhsv(327, 60%, 80%)
CMYKcmyk(0%, 59.8%, 27%, 20%)
CIE-LABlab(53.00, 55.23, -12.23)
CIE-LCHlch(53.00, 56.57, 347.51°)
OKLaboklab(61.72% 0.1672 -0.032)
OKLCHoklch(61.72% 0.17 349.2)
XYZxyz(33.3453, 21.0451, 30.7339)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5295 #52CC89
analogous
#C652CC #CC5295 #CC5258
triadic
#CC5295 #95CC52 #5295CC
tetradic
#CC5295 #CCC652 #52CC89 #5258CC
square
#CC5295 #CCC652 #52CC89 #5258CC
split-complementary
#CC5295 #58CC52 #52CCC6
monochromatic
#7E2556 #AE3376 #CC5295 #DA81B2 #E8B1CF

Accessibility & contrast

On white

4.03
#CC5295 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CC5295 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5295
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5295#FFFFFF#000000##000000
##CC52951.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617197
Deuteranopia (green-blind)
#838692
Tritanopia (blue-blind)
#DA4E6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5295;
/* rgb */ color: rgb(204, 82, 149);
/* oklch */ color: oklch(61.7% 0.170 349.2);
Tailwind
colors: {
  custom: {
    50: '#df89b4',
    500: '#cc5295',
    950: '#000000',
  },
}
SCSS
$custom: #cc5295;
$custom-light: #df89b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5295",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 327.049,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61715,
    "c": 0.17023,
    "h": 349.2
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#CC5295
secondary
#A4D6BA
accent
#DE8D4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5295

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

Preview Lab → · Contrast checker → · Palette generator →

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