#CC538C#CC538C

#CC538C is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.5% C 0.164 H 353.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CC538C
RGBrgb(204, 83, 140)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 59%, 80%)
CMYKcmyk(0%, 59.3%, 31.4%, 20%)
CIE-LABlab(52.86, 53.64, -7.11)
CIE-LCHlch(52.86, 54.11, 352.45°)
OKLaboklab(61.51% 0.1632 -0.0181)
OKLCHoklch(61.51% 0.164 353.7)
XYZxyz(32.7303, 20.9207, 27.1202)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC538C #53CC93
analogous
#CC53C8 #CC538C #CC5753
triadic
#CC538C #8CCC53 #538CCC
tetradic
#CC538C #C8CC53 #53CC93 #5753CC
square
#CC538C #C8CC53 #53CC93 #5753CC
split-complementary
#CC538C #53CC57 #53C8CC
monochromatic
#7F2650 #AE346D #CC538C #DA82AC #E8B1CB

Accessibility & contrast

On white

4.05
#CC538C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CC538C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC538C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC538C#FFFFFF#000000##000000
##CC538C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#DA4C69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc538c;
/* rgb */ color: rgb(204, 83, 140);
/* oklch */ color: oklch(61.5% 0.164 353.7);
Tailwind
colors: {
  custom: {
    50: '#df89ad',
    500: '#cc538c',
    950: '#000000',
  },
}
SCSS
$custom: #cc538c;
$custom-light: #df89ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc538c",
  "rgb": {
    "r": 204,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 331.736,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61514,
    "c": 0.1642,
    "h": 353.7
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#CC538C
secondary
#A4D6BF
accent
#DE984A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC538C

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

Preview Lab → · Contrast checker → · Palette generator →

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