#CC5DA2#CC5DA2

#CC5DA2 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.6% C 0.161 H 344.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CC5DA2
RGBrgb(204, 93, 162)
HSLhsl(323, 52%, 58%)
HSVhsv(323, 54%, 80%)
CMYKcmyk(0%, 54.4%, 20.6%, 20%)
CIE-LABlab(55.36, 51.96, -16.29)
CIE-LCHlch(55.36, 54.45, 342.59°)
OKLaboklab(63.62% 0.1553 -0.0432)
OKLCHoklch(63.62% 0.161 344.4)
XYZxyz(35.3387, 23.2777, 36.8073)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DA2 #5DCC87
analogous
#BF5DCC #CC5DA2 #CC5D6A
triadic
#CC5DA2 #A2CC5D #5DA2CC
tetradic
#CC5DA2 #CCBF5D #5DCC87 #5D6ACC
square
#CC5DA2 #CCBF5D #5DCC87 #5D6ACC
split-complementary
#CC5DA2 #6ACC5D #5DCCBF
monochromatic
#852A62 #B33885 #CC5DA2 #DB8CBD #E9BAD7

Accessibility & contrast

On white

3.71
#CC5DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CC5DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DA2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DA2#FFFFFF#000000##000000
##CC5DA21.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6679A4
Deuteranopia (green-blind)
#858B9F
Tritanopia (blue-blind)
#D85C78
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5da2;
/* rgb */ color: rgb(204, 93, 162);
/* oklch */ color: oklch(63.6% 0.161 344.4);
Tailwind
colors: {
  custom: {
    50: '#de8fbd',
    500: '#cc5da2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5da2;
$custom-light: #de8fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5da2",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 322.703,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63617,
    "c": 0.16117,
    "h": 344.4
  },
  "luminance": 0.23275
}

Semantic roles & 50–950 ramp

primary
#CC5DA2
secondary
#ACD9BD
accent
#DC824C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CC5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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