#CC538F#CC538F

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

Color values

HEX#CC538F
RGBrgb(204, 83, 143)
HSLhsl(330, 54%, 56%)
HSVhsv(330, 59%, 80%)
CMYKcmyk(0%, 59.3%, 29.9%, 20%)
CIE-LABlab(52.96, 54.01, -8.74)
CIE-LCHlch(52.96, 54.72, 350.81°)
OKLaboklab(61.62% 0.1641 -0.0225)
OKLCHoklch(61.62% 0.166 352.2)
XYZxyz(32.9545, 21.0104, 28.3011)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC538F #53CC90
analogous
#CC53CC #CC538F #CC5453
triadic
#CC538F #8FCC53 #538FCC
tetradic
#CC538F #CCCC53 #53CC90 #5453CC
square
#CC538F #CCCC53 #53CC90 #5453CC
split-complementary
#CC538F #53CC54 #53CCCC
monochromatic
#7F2652 #AE3470 #CC538F #DA82AE #E8B1CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC538F#FFFFFF#000000##000000
##CC538F1.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)
#647191
Deuteranopia (green-blind)
#85868C
Tritanopia (blue-blind)
#DA4D6B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc538f;
/* rgb */ color: rgb(204, 83, 143);
/* oklch */ color: oklch(61.6% 0.166 352.2);
Tailwind
colors: {
  custom: {
    50: '#df89af',
    500: '#cc538f',
    950: '#000000',
  },
}
SCSS
$custom: #cc538f;
$custom-light: #df89af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc538f",
  "rgb": {
    "r": 204,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 330.248,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61619,
    "c": 0.16564,
    "h": 352.2
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC538F

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

Preview Lab → · Contrast checker → · Palette generator →

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