#CD50A7#CD50A7

#CD50A7 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.185 H 341.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CD50A7
RGBrgb(205, 80, 167)
HSLhsl(318, 56%, 56%)
HSVhsv(318, 61%, 80%)
CMYKcmyk(0%, 61%, 18.5%, 19.6%)
CIE-LABlab(53.50, 58.87, -22.03)
CIE-LCHlch(53.50, 62.86, 339.48°)
OKLaboklab(62.34% 0.1753 -0.059)
OKLCHoklch(62.34% 0.185 341.4)
XYZxyz(35.0214, 21.5096, 38.8590)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50A7 #50CD76
analogous
#B450CD #CD50A7 #CD5068
triadic
#CD50A7 #A7CD50 #50A7CD
tetradic
#CD50A7 #CDB450 #50CD76 #5068CD
square
#CD50A7 #CDB450 #50CD76 #5068CD
split-complementary
#CD50A7 #68CD50 #50CDB4
monochromatic
#7E2463 #AE3288 #CD50A7 #DB80BF #E8AFD7

Accessibility & contrast

On white

3.96
#CD50A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CD50A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50A7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50A7#FFFFFF#000000##000000
##CD50A71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#7D87A4
Tritanopia (blue-blind)
#D95274
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd50a7;
/* rgb */ color: rgb(205, 80, 167);
/* oklch */ color: oklch(62.3% 0.185 341.4);
Tailwind
colors: {
  custom: {
    50: '#df88c1',
    500: '#cd50a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd50a7;
$custom-light: #df88c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50a7",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 167
  },
  "hsl": {
    "h": 318.24,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62338,
    "c": 0.18494,
    "h": 341.4
  },
  "luminance": 0.21506
}

Semantic roles & 50–950 ramp

primary
#CD50A7
secondary
#A2D6B2
accent
#DF7749
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD50A7

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

Preview Lab → · Contrast checker → · Palette generator →

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