#CD528E#CD528E

#CD528E is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.168 H 352.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CD528E
RGBrgb(205, 82, 142)
HSLhsl(331, 55%, 56%)
HSVhsv(331, 60%, 80%)
CMYKcmyk(0%, 60%, 30.7%, 19.6%)
CIE-LABlab(52.92, 54.64, -8.20)
CIE-LCHlch(52.92, 55.26, 351.47°)
OKLaboklab(61.61% 0.1662 -0.021)
OKLCHoklch(61.61% 0.168 352.8)
XYZxyz(33.0782, 20.9701, 27.8915)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD528E #52CD91
analogous
#CD52CC #CD528E #CD5452
triadic
#CD528E #8ECD52 #528ECD
tetradic
#CD528E #CCCD52 #52CD91 #5452CD
square
#CD528E #CCCD52 #52CD91 #5452CD
split-complementary
#CD528E #52CD54 #52CCCD
monochromatic
#802551 #AF336F #CD528E #DB81AD #E8B1CC

Accessibility & contrast

On white

4.04
#CD528E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CD528E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD528E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD528E#FFFFFF#000000##000000
##CD528E1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#647090
Deuteranopia (green-blind)
#85878B
Tritanopia (blue-blind)
#DB4B6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd528e;
/* rgb */ color: rgb(205, 82, 142);
/* oklch */ color: oklch(61.6% 0.168 352.8);
Tailwind
colors: {
  custom: {
    50: '#e089af',
    500: '#cd528e',
    950: '#000000',
  },
}
SCSS
$custom: #cd528e;
$custom-light: #e089af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd528e",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 330.732,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.16752,
    "h": 352.8
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

primary
#CD528E
secondary
#A4D7BE
accent
#DE9649
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD528E

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

Preview Lab → · Contrast checker → · Palette generator →

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