#CC5BAF#CC5BAF

#CC5BAF is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.9% C 0.173 H 338.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CC5BAF
RGBrgb(204, 91, 175)
HSLhsl(315, 53%, 58%)
HSVhsv(315, 55%, 80%)
CMYKcmyk(0%, 55.4%, 14.2%, 20%)
CIE-LABlab(55.50, 54.85, -23.63)
CIE-LCHlch(55.50, 59.72, 336.69°)
OKLaboklab(63.89% 0.1612 -0.0636)
OKLCHoklch(63.89% 0.173 338.4)
XYZxyz(36.3813, 23.4175, 43.1530)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BAF #5BCC78
analogous
#B05BCC #CC5BAF #CC5B77
triadic
#CC5BAF #AFCC5B #5BAFCC
tetradic
#CC5BAF #CCB05B #5BCC78 #5B77CC
square
#CC5BAF #CCB05B #5BCC78 #5B77CC
split-complementary
#CC5BAF #77CC5B #5BCCB0
monochromatic
#84296C #B23793 #CC5BAF #DB8AC6 #E9B8DD

Accessibility & contrast

On white

3.70
#CC5BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CC5BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BAF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BAF#FFFFFF#000000##000000
##CC5BAF1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB2
Deuteranopia (green-blind)
#808BAC
Tritanopia (blue-blind)
#D65F7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5baf;
/* rgb */ color: rgb(204, 91, 175);
/* oklch */ color: oklch(63.9% 0.173 338.4);
Tailwind
colors: {
  custom: {
    50: '#de8ec7',
    500: '#cc5baf',
    950: '#000000',
  },
}
SCSS
$custom: #cc5baf;
$custom-light: #de8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5baf",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 315.398,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63886,
    "c": 0.17327,
    "h": 338.4
  },
  "luminance": 0.23415
}

Semantic roles & 50–950 ramp

primary
#CC5BAF
secondary
#ABD8B6
accent
#DC714C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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