#CC5F7C#CC5F7C

#CC5F7C is a light, vivid pink. Relative luminance 0.225; OKLCH L 62.6% C 0.141 H 5.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CC5F7C
RGBrgb(204, 95, 124)
HSLhsl(344, 52%, 59%)
HSVhsv(344, 53%, 80%)
CMYKcmyk(0%, 53.4%, 39.2%, 20%)
CIE-LABlab(54.53, 46.10, 4.81)
CIE-LCHlch(54.53, 46.35, 5.96°)
OKLaboklab(62.61% 0.1402 0.013)
OKLCHoklch(62.61% 0.141 5.3)
XYZxyz(32.6340, 22.4804, 21.6854)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5F7C #5FCCAF
analogous
#CC5FB2 #CC5F7C #CC785F
triadic
#CC5F7C #7CCC5F #5F7CCC
tetradic
#CC5F7C #B2CC5F #5FCCAF #785FCC
square
#CC5F7C #B2CC5F #5FCCAF #785FCC
split-complementary
#CC5F7C #5FCC78 #5FB2CC
monochromatic
#862B43 #B4395A #CC5F7C #DB8DA2 #EABCC8

Accessibility & contrast

On white

3.82
#CC5F7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CC5F7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5F7C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5F7C#FFFFFF#000000##000000
##CC5F7C1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#73757D
Deuteranopia (green-blind)
#8F8A7A
Tritanopia (blue-blind)
#DC546A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc5f7c;
/* rgb */ color: rgb(204, 95, 124);
/* oklch */ color: oklch(62.6% 0.141 5.3);
Tailwind
colors: {
  custom: {
    50: '#df90a1',
    500: '#cc5f7c',
    950: '#000000',
  },
}
SCSS
$custom: #cc5f7c;
$custom-light: #df90a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5f7c",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 124
  },
  "hsl": {
    "h": 344.037,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62609,
    "c": 0.1408,
    "h": 5.3
  },
  "luminance": 0.22477
}

Semantic roles & 50–950 ramp

primary
#CC5F7C
secondary
#AED9CD
accent
#DBB54D
background
#FEF9F9
surface
#FCF1F2
border
#D5CBCC
text
#160D0F
muted
#847E7E

Preview Lab

Preview with #CC5F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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