#CC5F82#CC5F82

#CC5F82 is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.8% C 0.142 H 1.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CC5F82
RGBrgb(204, 95, 130)
HSLhsl(341, 52%, 59%)
HSVhsv(341, 53%, 80%)
CMYKcmyk(0%, 53.4%, 36.3%, 20%)
CIE-LABlab(54.70, 46.79, 1.51)
CIE-LCHlch(54.70, 46.81, 1.84°)
OKLaboklab(62.79% 0.1424 0.0045)
OKLCHoklch(62.79% 0.142 1.8)
XYZxyz(33.0250, 22.6368, 23.7449)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5F82 #5FCCA9
analogous
#CC5FB8 #CC5F82 #CC725F
triadic
#CC5F82 #82CC5F #5F82CC
tetradic
#CC5F82 #B8CC5F #5FCCA9 #725FCC
square
#CC5F82 #B8CC5F #5FCCA9 #725FCC
split-complementary
#CC5F82 #5FCC72 #5FB8CC
monochromatic
#862B48 #B43961 #CC5F82 #DB8DA6 #EABCCB

Accessibility & contrast

On white

3.80
#CC5F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CC5F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5F82
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5F82#FFFFFF#000000##000000
##CC5F821.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#717683
Deuteranopia (green-blind)
#8E8B80
Tritanopia (blue-blind)
#DB566C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc5f82;
/* rgb */ color: rgb(204, 95, 130);
/* oklch */ color: oklch(62.8% 0.142 1.8);
Tailwind
colors: {
  custom: {
    50: '#df90a6',
    500: '#cc5f82',
    950: '#000000',
  },
}
SCSS
$custom: #cc5f82;
$custom-light: #df90a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5f82",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 130
  },
  "hsl": {
    "h": 340.734,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.14243,
    "h": 1.8
  },
  "luminance": 0.22633
}

Semantic roles & 50–950 ramp

primary
#CC5F82
secondary
#AED9CB
accent
#DBAD4D
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D0F
muted
#847E7F

Preview Lab

Preview with #CC5F82

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

Preview Lab → · Contrast checker → · Palette generator →

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