#CD52A7#CD52A7

#CD52A7 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.6% C 0.182 H 341.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CD52A7
RGBrgb(205, 82, 167)
HSLhsl(319, 55%, 56%)
HSVhsv(319, 60%, 80%)
CMYKcmyk(0%, 60%, 18.5%, 19.6%)
CIE-LABlab(53.82, 58.01, -21.54)
CIE-LCHlch(53.82, 61.88, 339.63°)
OKLaboklab(62.57% 0.1727 -0.0577)
OKLCHoklch(62.57% 0.182 341.5)
XYZxyz(35.1700, 21.8068, 38.9086)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52A7 #52CD78
analogous
#B652CD #CD52A7 #CD526A
triadic
#CD52A7 #A7CD52 #52A7CD
tetradic
#CD52A7 #CDB652 #52CD78 #526ACD
square
#CD52A7 #CDB652 #52CD78 #526ACD
split-complementary
#CD52A7 #6ACD52 #52CDB6
monochromatic
#802564 #AF3389 #CD52A7 #DB81BF #E8B1D7

Accessibility & contrast

On white

3.92
#CD52A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CD52A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52A7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52A7#FFFFFF#000000##000000
##CD52A71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A74AA
Deuteranopia (green-blind)
#7E88A4
Tritanopia (blue-blind)
#D95475
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd52a7;
/* rgb */ color: rgb(205, 82, 167);
/* oklch */ color: oklch(62.6% 0.182 341.5);
Tailwind
colors: {
  custom: {
    50: '#df89c1',
    500: '#cd52a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd52a7;
$custom-light: #df89c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52a7",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 318.537,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62572,
    "c": 0.18204,
    "h": 341.5
  },
  "luminance": 0.21804
}

Semantic roles & 50–950 ramp

primary
#CD52A7
secondary
#A4D7B4
accent
#DE7749
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD52A7

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

Preview Lab → · Contrast checker → · Palette generator →

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