#CC5A8E#CC5A8E

#CC5A8E is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.5% C 0.155 H 354.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CC5A8E
RGBrgb(204, 90, 142)
HSLhsl(333, 53%, 58%)
HSVhsv(333, 56%, 80%)
CMYKcmyk(0%, 55.9%, 30.4%, 20%)
CIE-LABlab(54.14, 50.66, -6.39)
CIE-LCHlch(54.14, 51.06, 352.81°)
OKLaboklab(62.49% 0.1538 -0.0162)
OKLCHoklch(62.49% 0.155 354)
XYZxyz(33.4420, 22.1059, 28.0916)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A8E #5ACC98
analogous
#CC5AC7 #CC5A8E #CC5F5A
triadic
#CC5A8E #8ECC5A #5A8ECC
tetradic
#CC5A8E #C7CC5A #5ACC98 #5F5ACC
square
#CC5A8E #C7CC5A #5ACC98 #5F5ACC
split-complementary
#CC5A8E #5ACC5F #5AC7CC
monochromatic
#832952 #B2376F #CC5A8E #DA89AE #E9B7CE

Accessibility & contrast

On white

3.87
#CC5A8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CC5A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A8E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A8E#FFFFFF#000000##000000
##CC5A8E1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7590
Deuteranopia (green-blind)
#88898B
Tritanopia (blue-blind)
#DA546E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5a8e;
/* rgb */ color: rgb(204, 90, 142);
/* oklch */ color: oklch(62.5% 0.155 354.0);
Tailwind
colors: {
  custom: {
    50: '#df8daf',
    500: '#cc5a8e',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a8e;
$custom-light: #df8daf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a8e",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 142
  },
  "hsl": {
    "h": 332.632,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62486,
    "c": 0.15469,
    "h": 354
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#CC5A8E
secondary
#AAD8C3
accent
#DC9A4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160D10
muted
#847D7F

Preview Lab

Preview with #CC5A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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