#CC5FB2#CC5FB2

#CC5FB2 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.5% C 0.169 H 337.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CC5FB2
RGBrgb(204, 95, 178)
HSLhsl(314, 52%, 59%)
HSVhsv(314, 53%, 80%)
CMYKcmyk(0%, 53.4%, 12.7%, 20%)
CIE-LABlab(56.33, 53.43, -24.10)
CIE-LCHlch(56.33, 58.61, 335.73°)
OKLaboklab(64.54% 0.1562 -0.065)
OKLCHoklch(64.54% 0.169 337.4)
XYZxyz(37.0303, 24.2389, 44.8391)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FB2 #5FCC79
analogous
#AF5FCC #CC5FB2 #CC5F7B
triadic
#CC5FB2 #B2CC5F #5FB2CC
tetradic
#CC5FB2 #CCAF5F #5FCC79 #5F7BCC
square
#CC5FB2 #CCAF5F #5FCC79 #5F7BCC
split-complementary
#CC5FB2 #7BCC5F #5FCCAF
monochromatic
#862B70 #B43997 #CC5FB2 #DB8DC8 #EABCDF

Accessibility & contrast

On white

3.59
#CC5FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CC5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FB2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FB2#FFFFFF#000000##000000
##CC5FB21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB5
Deuteranopia (green-blind)
#818DAF
Tritanopia (blue-blind)
#D66380
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5fb2;
/* rgb */ color: rgb(204, 95, 178);
/* oklch */ color: oklch(64.5% 0.169 337.4);
Tailwind
colors: {
  custom: {
    50: '#de91c9',
    500: '#cc5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fb2;
$custom-light: #de91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fb2",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 314.312,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64536,
    "c": 0.16922,
    "h": 337.4
  },
  "luminance": 0.24236
}

Semantic roles & 50–950 ramp

primary
#CC5FB2
secondary
#AED9B8
accent
#DB6F4D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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