#CC538A#CC538A

#CC538A is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.4% C 0.163 H 354.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CC538A
RGBrgb(204, 83, 138)
HSLhsl(333, 54%, 56%)
HSVhsv(333, 59%, 80%)
CMYKcmyk(0%, 59.3%, 32.4%, 20%)
CIE-LABlab(52.80, 53.39, -6.02)
CIE-LCHlch(52.80, 53.73, 353.57°)
OKLaboklab(61.45% 0.1626 -0.0152)
OKLCHoklch(61.45% 0.163 354.7)
XYZxyz(32.5842, 20.8622, 26.3506)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC538A #53CC95
analogous
#CC53C7 #CC538A #CC5953
triadic
#CC538A #8ACC53 #538ACC
tetradic
#CC538A #C7CC53 #53CC95 #5953CC
square
#CC538A #C7CC53 #53CC95 #5953CC
split-complementary
#CC538A #53CC59 #53C7CC
monochromatic
#7F264E #AE346B #CC538A #DA82AA #E8B1CA

Accessibility & contrast

On white

4.06
#CC538A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CC538A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC538A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC538A#FFFFFF#000000##000000
##CC538A1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#DB4B69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc538a;
/* rgb */ color: rgb(204, 83, 138);
/* oklch */ color: oklch(61.4% 0.163 354.7);
Tailwind
colors: {
  custom: {
    50: '#df89ac',
    500: '#cc538a',
    950: '#000000',
  },
}
SCSS
$custom: #cc538a;
$custom-light: #df89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc538a",
  "rgb": {
    "r": 204,
    "g": 83,
    "b": 138
  },
  "hsl": {
    "h": 332.727,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.16329,
    "h": 354.7
  },
  "luminance": 0.20859
}

Semantic roles & 50–950 ramp

primary
#CC538A
secondary
#A4D6C0
accent
#DE9B4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC538A

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

Preview Lab → · Contrast checker → · Palette generator →

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