#CC538E#CC538E

#CC538E is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.165 H 352.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CC538E
RGBrgb(204, 83, 142)
HSLhsl(331, 54%, 56%)
HSVhsv(331, 59%, 80%)
CMYKcmyk(0%, 59.3%, 30.4%, 20%)
CIE-LABlab(52.93, 53.89, -8.20)
CIE-LCHlch(52.93, 54.51, 351.35°)
OKLaboklab(61.58% 0.1638 -0.021)
OKLCHoklch(61.58% 0.165 352.7)
XYZxyz(32.8791, 20.9802, 27.9040)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC538E #53CC91
analogous
#CC53CB #CC538E #CC5553
triadic
#CC538E #8ECC53 #538ECC
tetradic
#CC538E #CBCC53 #53CC91 #5553CC
square
#CC538E #CBCC53 #53CC91 #5553CC
split-complementary
#CC538E #53CC55 #53CBCC
monochromatic
#7F2651 #AE346F #CC538E #DA82AD #E8B1CC

Accessibility & contrast

On white

4.04
#CC538E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CC538E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC538E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC538E#FFFFFF#000000##000000
##CC538E1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#647190
Deuteranopia (green-blind)
#85868B
Tritanopia (blue-blind)
#DA4C6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc538e;
/* rgb */ color: rgb(204, 83, 142);
/* oklch */ color: oklch(61.6% 0.165 352.7);
Tailwind
colors: {
  custom: {
    50: '#df89af',
    500: '#cc538e',
    950: '#000000',
  },
}
SCSS
$custom: #cc538e;
$custom-light: #df89af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc538e",
  "rgb": {
    "r": 204,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 330.744,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61584,
    "c": 0.16515,
    "h": 352.7
  },
  "luminance": 0.20977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC538E

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

Preview Lab → · Contrast checker → · Palette generator →

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