#CC538B#CC538B

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

Color values

HEX#CC538B
RGBrgb(204, 83, 139)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 59%, 80%)
CMYKcmyk(0%, 59.3%, 31.9%, 20%)
CIE-LABlab(52.83, 53.52, -6.56)
CIE-LCHlch(52.83, 53.92, 353.01°)
OKLaboklab(61.48% 0.1629 -0.0167)
OKLCHoklch(61.48% 0.164 354.2)
XYZxyz(32.6569, 20.8913, 26.7337)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC538B #53CC94
analogous
#CC53C8 #CC538B #CC5853
triadic
#CC538B #8BCC53 #538BCC
tetradic
#CC538B #C8CC53 #53CC94 #5853CC
square
#CC538B #C8CC53 #53CC94 #5853CC
split-complementary
#CC538B #53CC58 #53C8CC
monochromatic
#7F264F #AE346C #CC538B #DA82AB #E8B1CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC538B#FFFFFF#000000##000000
##CC538B1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc538b;
/* rgb */ color: rgb(204, 83, 139);
/* oklch */ color: oklch(61.5% 0.164 354.2);
Tailwind
colors: {
  custom: {
    50: '#df89ac',
    500: '#cc538b',
    950: '#000000',
  },
}
SCSS
$custom: #cc538b;
$custom-light: #df89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc538b",
  "rgb": {
    "r": 204,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 332.231,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6148,
    "c": 0.16374,
    "h": 354.2
  },
  "luminance": 0.20888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC538B

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

Preview Lab → · Contrast checker → · Palette generator →

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