#CD528B#CD528B

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

Color values

HEX#CD528B
RGBrgb(205, 82, 139)
HSLhsl(332, 55%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 60%, 32.2%, 19.6%)
CIE-LABlab(52.82, 54.28, -6.56)
CIE-LCHlch(52.82, 54.67, 353.11°)
OKLaboklab(61.5% 0.1653 -0.0167)
OKLCHoklch(61.5% 0.166 354.2)
XYZxyz(32.8560, 20.8812, 26.7212)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD528B #52CD94
analogous
#CD52C9 #CD528B #CD5752
triadic
#CD528B #8BCD52 #528BCD
tetradic
#CD528B #C9CD52 #52CD94 #5752CD
square
#CD528B #C9CD52 #52CD94 #5752CD
split-complementary
#CD528B #52CD57 #52C9CD
monochromatic
#80254F #AF336C #CD528B #DB81AB #E8B1CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD528B#FFFFFF#000000##000000
##CD528B1.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)
#DC4A68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd528b;
/* rgb */ color: rgb(205, 82, 139);
/* oklch */ color: oklch(61.5% 0.166 354.2);
Tailwind
colors: {
  custom: {
    50: '#e089ac',
    500: '#cd528b',
    950: '#000000',
  },
}
SCSS
$custom: #cd528b;
$custom-light: #e089ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd528b",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 332.195,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.16612,
    "h": 354.2
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD528B

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

Preview Lab → · Contrast checker → · Palette generator →

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