#CC5EB7#CC5EB7

#CC5EB7 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.6% C 0.175 H 335.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CC5EB7
RGBrgb(204, 94, 183)
HSLhsl(311, 52%, 58%)
HSVhsv(311, 54%, 80%)
CMYKcmyk(0%, 53.9%, 10.3%, 20%)
CIE-LABlab(56.35, 54.70, -26.94)
CIE-LCHlch(56.35, 60.98, 333.78°)
OKLaboklab(64.62% 0.1587 -0.073)
OKLCHoklch(64.62% 0.175 335.3)
XYZxyz(37.4520, 24.2644, 47.5015)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EB7 #5ECC73
analogous
#AA5ECC #CC5EB7 #CC5E80
triadic
#CC5EB7 #B7CC5E #5EB7CC
tetradic
#CC5EB7 #CCAA5E #5ECC73 #5E80CC
square
#CC5EB7 #CCAA5E #5ECC73 #5E80CC
split-complementary
#CC5EB7 #80CC5E #5ECCAA
monochromatic
#852A74 #B4399C #CC5EB7 #DB8CCC #E9BBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5EB7#FFFFFF#000000##000000
##CC5EB71.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)
#5E7DBA
Deuteranopia (green-blind)
#7E8DB4
Tritanopia (blue-blind)
#D56482
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5eb7;
/* rgb */ color: rgb(204, 94, 183);
/* oklch */ color: oklch(64.6% 0.175 335.3);
Tailwind
colors: {
  custom: {
    50: '#de90cd',
    500: '#cc5eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5eb7;
$custom-light: #de90cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5eb7",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 311.455,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64622,
    "c": 0.17465,
    "h": 335.3
  },
  "luminance": 0.24262
}

Semantic roles & 50–950 ramp

primary
#CC5EB7
secondary
#ADD9B5
accent
#DB684C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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