#CC5F9B#CC5F9B

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

Color values

HEX#CC5F9B
RGBrgb(204, 95, 155)
HSLhsl(327, 52%, 59%)
HSVhsv(327, 53%, 80%)
CMYKcmyk(0%, 53.4%, 24%, 20%)
CIE-LABlab(55.47, 50.01, -12.03)
CIE-LCHlch(55.47, 51.43, 346.47°)
OKLaboklab(63.62% 0.1505 -0.0315)
OKLCHoklch(63.62% 0.154 348.2)
XYZxyz(34.9115, 23.3914, 33.6803)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5F9B #5FCC90
analogous
#C65FCC #CC5F9B #CC5F64
triadic
#CC5F9B #9BCC5F #5F9BCC
tetradic
#CC5F9B #CCC65F #5FCC90 #5F64CC
square
#CC5F9B #CCC65F #5FCC90 #5F64CC
split-complementary
#CC5F9B #64CC5F #5FCCC6
monochromatic
#862B5D #B4397D #CC5F9B #DB8DB8 #EABCD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5F9B#FFFFFF#000000##000000
##CC5F9B1.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)
#6A799D
Deuteranopia (green-blind)
#888C98
Tritanopia (blue-blind)
#D95C76
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5f9b;
/* rgb */ color: rgb(204, 95, 155);
/* oklch */ color: oklch(63.6% 0.154 348.2);
Tailwind
colors: {
  custom: {
    50: '#de90b8',
    500: '#cc5f9b',
    950: '#000000',
  },
}
SCSS
$custom: #cc5f9b;
$custom-light: #de90b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5f9b",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 155
  },
  "hsl": {
    "h": 326.972,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63622,
    "c": 0.15372,
    "h": 348.2
  },
  "luminance": 0.23388
}

Semantic roles & 50–950 ramp

primary
#CC5F9B
secondary
#AED9C1
accent
#DB8D4D
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#150D11
muted
#847E80

Preview Lab

Preview with #CC5F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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