#CC538D#CC538D

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

Color values

HEX#CC538D
RGBrgb(204, 83, 141)
HSLhsl(331, 54%, 56%)
HSVhsv(331, 59%, 80%)
CMYKcmyk(0%, 59.3%, 30.9%, 20%)
CIE-LABlab(52.90, 53.76, -7.65)
CIE-LCHlch(52.90, 54.31, 351.90°)
OKLaboklab(61.55% 0.1635 -0.0196)
OKLCHoklch(61.55% 0.165 353.2)
XYZxyz(32.8043, 20.9503, 27.5103)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC538D #53CC92
analogous
#CC53C9 #CC538D #CC5653
triadic
#CC538D #8DCC53 #538DCC
tetradic
#CC538D #C9CC53 #53CC92 #5653CC
square
#CC538D #C9CC53 #53CC92 #5653CC
split-complementary
#CC538D #53CC56 #53C9CC
monochromatic
#7F2650 #AE346E #CC538D #DA82AC #E8B1CC

Accessibility & contrast

On white

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

On black

5.19
#CC538D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC538D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC538D#FFFFFF#000000##000000
##CC538D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#64718F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#DA4C6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc538d;
/* rgb */ color: rgb(204, 83, 141);
/* oklch */ color: oklch(61.5% 0.165 353.2);
Tailwind
colors: {
  custom: {
    50: '#df89ae',
    500: '#cc538d',
    950: '#000000',
  },
}
SCSS
$custom: #cc538d;
$custom-light: #df89ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc538d",
  "rgb": {
    "r": 204,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 331.24,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.16467,
    "h": 353.2
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#CC538D
secondary
#A4D6BE
accent
#DE974A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC538D

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

Preview Lab → · Contrast checker → · Palette generator →

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