#CD50A5#CD50A5

#CD50A5 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.184 H 342.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CD50A5
RGBrgb(205, 80, 165)
HSLhsl(319, 56%, 56%)
HSVhsv(319, 61%, 80%)
CMYKcmyk(0%, 61%, 19.5%, 19.6%)
CIE-LABlab(53.42, 58.59, -20.98)
CIE-LCHlch(53.42, 62.23, 340.30°)
OKLaboklab(62.25% 0.1748 -0.0561)
OKLCHoklch(62.25% 0.184 342.2)
XYZxyz(34.8379, 21.4362, 37.8928)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50A5 #50CD78
analogous
#B650CD #CD50A5 #CD5066
triadic
#CD50A5 #A5CD50 #50A5CD
tetradic
#CD50A5 #CDB650 #50CD78 #5066CD
square
#CD50A5 #CDB650 #50CD78 #5066CD
split-complementary
#CD50A5 #66CD50 #50CDB6
monochromatic
#7E2462 #AE3286 #CD50A5 #DB80BD #E8AFD6

Accessibility & contrast

On white

3.97
#CD50A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CD50A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50A5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50A5#FFFFFF#000000##000000
##CD50A51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5973A8
Deuteranopia (green-blind)
#7E87A2
Tritanopia (blue-blind)
#D95173
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd50a5;
/* rgb */ color: rgb(205, 80, 165);
/* oklch */ color: oklch(62.3% 0.184 342.2);
Tailwind
colors: {
  custom: {
    50: '#df88c0',
    500: '#cd50a5',
    950: '#000000',
  },
}
SCSS
$custom: #cd50a5;
$custom-light: #df88c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50a5",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 319.2,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62253,
    "c": 0.18361,
    "h": 342.2
  },
  "luminance": 0.21433
}

Semantic roles & 50–950 ramp

primary
#CD50A5
secondary
#A2D6B3
accent
#DF7949
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD50A5

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

Preview Lab → · Contrast checker → · Palette generator →

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