#CD52B8#CD52B8

#CD52B8 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.3% C 0.194 H 334.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CD52B8
RGBrgb(205, 82, 184)
HSLhsl(310, 55%, 56%)
HSVhsv(310, 60%, 80%)
CMYKcmyk(0%, 60%, 10.2%, 19.6%)
CIE-LABlab(54.53, 60.57, -30.33)
CIE-LCHlch(54.53, 67.74, 333.40°)
OKLaboklab(63.32% 0.1758 -0.0825)
OKLCHoklch(63.32% 0.194 334.9)
XYZxyz(36.8461, 22.4773, 47.7360)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52B8 #52CD67
analogous
#A552CD #CD52B8 #CD527B
triadic
#CD52B8 #B8CD52 #52B8CD
tetradic
#CD52B8 #CDA552 #52CD67 #527BCD
square
#CD52B8 #CDA552 #52CD67 #527BCD
split-complementary
#CD52B8 #7BCD52 #52CDA5
monochromatic
#802570 #AF339A #CD52B8 #DB81CB #E8B1DF

Accessibility & contrast

On white

3.82
#CD52B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CD52B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52B8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52B8#FFFFFF#000000##000000
##CD52B81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5277BB
Deuteranopia (green-blind)
#7889B5
Tritanopia (blue-blind)
#D65A7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd52b8;
/* rgb */ color: rgb(205, 82, 184);
/* oklch */ color: oklch(63.3% 0.194 334.9);
Tailwind
colors: {
  custom: {
    50: '#df8acd',
    500: '#cd52b8',
    950: '#000000',
  },
}
SCSS
$custom: #cd52b8;
$custom-light: #df8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52b8",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 310.244,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63324,
    "c": 0.19419,
    "h": 334.9
  },
  "luminance": 0.22474
}

Semantic roles & 50–950 ramp

primary
#CD52B8
secondary
#A4D7AD
accent
#DE6349
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD52B8

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

Preview Lab → · Contrast checker → · Palette generator →

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