#CC5FA2#CC5FA2

#CC5FA2 is a light, vivid pink. Relative luminance 0.236; OKLCH L 63.9% C 0.158 H 344.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CC5FA2
RGBrgb(204, 95, 162)
HSLhsl(323, 52%, 59%)
HSVhsv(323, 53%, 80%)
CMYKcmyk(0%, 53.4%, 20.6%, 20%)
CIE-LABlab(55.72, 51.00, -15.74)
CIE-LCHlch(55.72, 53.38, 342.85°)
OKLaboklab(63.89% 0.1524 -0.0417)
OKLCHoklch(63.89% 0.158 344.7)
XYZxyz(35.5165, 23.6334, 36.8665)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FA2 #5FCC89
analogous
#BF5FCC #CC5FA2 #CC5F6B
triadic
#CC5FA2 #A2CC5F #5FA2CC
tetradic
#CC5FA2 #CCBF5F #5FCC89 #5F6BCC
square
#CC5FA2 #CCBF5F #5FCC89 #5F6BCC
split-complementary
#CC5FA2 #6BCC5F #5FCCBF
monochromatic
#862B63 #B43985 #CC5FA2 #DB8DBD #EABCD8

Accessibility & contrast

On white

3.67
#CC5FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CC5FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FA2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FA2#FFFFFF#000000##000000
##CC5FA21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#868C9F
Tritanopia (blue-blind)
#D85E79
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5fa2;
/* rgb */ color: rgb(204, 95, 162);
/* oklch */ color: oklch(63.9% 0.158 344.7);
Tailwind
colors: {
  custom: {
    50: '#de91bd',
    500: '#cc5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fa2;
$custom-light: #de91bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fa2",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 323.119,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63886,
    "c": 0.158,
    "h": 344.7
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#CC5FA2
secondary
#AED9BE
accent
#DB844D
background
#FDF9FB
surface
#FBF1F6
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CC5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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