#CD528A#CD528A

#CD528A is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.166 H 354.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CD528A
RGBrgb(205, 82, 138)
HSLhsl(333, 55%, 56%)
HSVhsv(333, 60%, 80%)
CMYKcmyk(0%, 60%, 32.7%, 19.6%)
CIE-LABlab(52.79, 54.15, -6.02)
CIE-LCHlch(52.79, 54.49, 353.66°)
OKLaboklab(61.47% 0.165 -0.0152)
OKLCHoklch(61.47% 0.166 354.7)
XYZxyz(32.7832, 20.8521, 26.3382)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD528A #52CD95
analogous
#CD52C8 #CD528A #CD5852
triadic
#CD528A #8ACD52 #528ACD
tetradic
#CD528A #C8CD52 #52CD95 #5852CD
square
#CD528A #C8CD52 #52CD95 #5852CD
split-complementary
#CD528A #52CD58 #52C8CD
monochromatic
#80254E #AF336B #CD528A #DB81AA #E8B1CA

Accessibility & contrast

On white

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

On black

5.17
#CD528A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD528A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD528A#FFFFFF#000000##000000
##CD528A1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#DC4A68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd528a;
/* rgb */ color: rgb(205, 82, 138);
/* oklch */ color: oklch(61.5% 0.166 354.7);
Tailwind
colors: {
  custom: {
    50: '#e089ac',
    500: '#cd528a',
    950: '#000000',
  },
}
SCSS
$custom: #cd528a;
$custom-light: #e089ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd528a",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 332.683,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.16567,
    "h": 354.7
  },
  "luminance": 0.20849
}

Semantic roles & 50–950 ramp

primary
#CD528A
secondary
#A4D7C0
accent
#DE9B49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD528A

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

Preview Lab → · Contrast checker → · Palette generator →

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