#CC5A7B#CC5A7B

#CC5A7B is a mid, vivid pink. Relative luminance 0.216; OKLCH L 61.9% C 0.148 H 4.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CC5A7B
RGBrgb(204, 90, 123)
HSLhsl(343, 53%, 58%)
HSVhsv(343, 56%, 80%)
CMYKcmyk(0%, 55.9%, 39.7%, 20%)
CIE-LABlab(53.58, 48.40, 4.03)
CIE-LCHlch(53.58, 48.57, 4.76°)
OKLaboklab(61.89% 0.1474 0.011)
OKLCHoklch(61.89% 0.148 4.3)
XYZxyz(32.1351, 21.5832, 21.2087)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A7B #5ACCAB
analogous
#CC5AB4 #CC5A7B #CC725A
triadic
#CC5A7B #7BCC5A #5A7BCC
tetradic
#CC5A7B #B4CC5A #5ACCAB #725ACC
square
#CC5A7B #B4CC5A #5ACCAB #725ACC
split-complementary
#CC5A7B #5ACC72 #5AB4CC
monochromatic
#832943 #B2375B #CC5A7B #DA89A0 #E9B7C6

Accessibility & contrast

On white

3.95
#CC5A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CC5A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A7B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A7B#FFFFFF#000000##000000
##CC5A7B1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F727C
Deuteranopia (green-blind)
#8D8878
Tritanopia (blue-blind)
#DC4E66
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5a7b;
/* rgb */ color: rgb(204, 90, 123);
/* oklch */ color: oklch(61.9% 0.148 4.3);
Tailwind
colors: {
  custom: {
    50: '#df8da1',
    500: '#cc5a7b',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a7b;
$custom-light: #df8da1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a7b",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 123
  },
  "hsl": {
    "h": 342.632,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.14778,
    "h": 4.3
  },
  "luminance": 0.2158
}

Semantic roles & 50–950 ramp

primary
#CC5A7B
secondary
#AAD8CB
accent
#DCB24C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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