#CC5EAF#CC5EAF

#CC5EAF is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.3% C 0.169 H 338.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CC5EAF
RGBrgb(204, 94, 175)
HSLhsl(316, 52%, 58%)
HSVhsv(316, 54%, 80%)
CMYKcmyk(0%, 53.9%, 14.2%, 20%)
CIE-LABlab(56.03, 53.44, -22.82)
CIE-LCHlch(56.03, 58.11, 336.87°)
OKLaboklab(64.28% 0.157 -0.0614)
OKLCHoklch(64.28% 0.169 338.6)
XYZxyz(36.6429, 23.9407, 43.2402)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EAF #5ECC7B
analogous
#B25ECC #CC5EAF #CC5E78
triadic
#CC5EAF #AFCC5E #5EAFCC
tetradic
#CC5EAF #CCB25E #5ECC7B #5E78CC
square
#CC5EAF #CCB25E #5ECC7B #5E78CC
split-complementary
#CC5EAF #78CC5E #5ECCB2
monochromatic
#852A6D #B43993 #CC5EAF #DB8CC6 #E9BBDD

Accessibility & contrast

On white

3.63
#CC5EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CC5EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EAF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EAF#FFFFFF#000000##000000
##CC5EAF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#627BB2
Deuteranopia (green-blind)
#818DAC
Tritanopia (blue-blind)
#D6617F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5eaf;
/* rgb */ color: rgb(204, 94, 175);
/* oklch */ color: oklch(64.3% 0.169 338.6);
Tailwind
colors: {
  custom: {
    50: '#de90c7',
    500: '#cc5eaf',
    950: '#000000',
  },
}
SCSS
$custom: #cc5eaf;
$custom-light: #de90c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5eaf",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 315.818,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64277,
    "c": 0.16857,
    "h": 338.6
  },
  "luminance": 0.23938
}

Semantic roles & 50–950 ramp

primary
#CC5EAF
secondary
#ADD9B9
accent
#DB724C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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