#CD538C#CD538C

#CD538C is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.165 H 353.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CD538C
RGBrgb(205, 83, 140)
HSLhsl(332, 55%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 59.5%, 31.7%, 19.6%)
CIE-LABlab(53.02, 53.95, -6.86)
CIE-LCHlch(53.02, 54.38, 352.75°)
OKLaboklab(61.66% 0.1642 -0.0174)
OKLCHoklch(61.66% 0.165 353.9)
XYZxyz(33.0053, 21.0625, 27.1331)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD538C #53CD94
analogous
#CD53C9 #CD538C #CD5753
triadic
#CD538C #8CCD53 #538CCD
tetradic
#CD538C #C9CD53 #53CD94 #5753CD
square
#CD538C #C9CD53 #53CD94 #5753CD
split-complementary
#CD538C #53CD57 #53C9CD
monochromatic
#802550 #B0336D #CD538C #DB82AC #E9B2CB

Accessibility & contrast

On white

4.03
#CD538C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CD538C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD538C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD538C#FFFFFF#000000##000000
##CD538C1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#65718E
Deuteranopia (green-blind)
#868789
Tritanopia (blue-blind)
#DC4C69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd538c;
/* rgb */ color: rgb(205, 83, 140);
/* oklch */ color: oklch(61.7% 0.165 353.9);
Tailwind
colors: {
  custom: {
    50: '#e089ad',
    500: '#cd538c',
    950: '#000000',
  },
}
SCSS
$custom: #cd538c;
$custom-light: #e089ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd538c",
  "rgb": {
    "r": 205,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 331.967,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.16512,
    "h": 353.9
  },
  "luminance": 0.21059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD538C

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

Preview Lab → · Contrast checker → · Palette generator →

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