#CD528C#CD528C

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

Color values

HEX#CD528C
RGBrgb(205, 82, 140)
HSLhsl(332, 55%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 60%, 31.7%, 19.6%)
CIE-LABlab(52.85, 54.40, -7.11)
CIE-LCHlch(52.85, 54.86, 352.56°)
OKLaboklab(61.54% 0.1656 -0.0181)
OKLCHoklch(61.54% 0.167 353.8)
XYZxyz(32.9294, 20.9106, 27.1078)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD528C #52CD93
analogous
#CD52CA #CD528C #CD5652
triadic
#CD528C #8CCD52 #528CCD
tetradic
#CD528C #CACD52 #52CD93 #5652CD
square
#CD528C #CACD52 #52CD93 #5652CD
split-complementary
#CD528C #52CD56 #52CACD
monochromatic
#802550 #AF336D #CD528C #DB81AC #E8B1CB

Accessibility & contrast

On white

4.05
#CD528C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD528C#FFFFFF#000000##000000
##CD528C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#64708E
Deuteranopia (green-blind)
#868689
Tritanopia (blue-blind)
#DC4A69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd528c;
/* rgb */ color: rgb(205, 82, 140);
/* oklch */ color: oklch(61.5% 0.167 353.8);
Tailwind
colors: {
  custom: {
    50: '#e089ad',
    500: '#cd528c',
    950: '#000000',
  },
}
SCSS
$custom: #cd528c;
$custom-light: #e089ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd528c",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 331.707,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.16658,
    "h": 353.8
  },
  "luminance": 0.20907
}

Semantic roles & 50–950 ramp

primary
#CD528C
secondary
#A4D7BF
accent
#DE9849
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD528C

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

Preview Lab → · Contrast checker → · Palette generator →

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