#CD50B2#CD50B2

#CD50B2 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.8% C 0.193 H 337.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CD50B2
RGBrgb(205, 80, 178)
HSLhsl(313, 56%, 56%)
HSVhsv(313, 61%, 80%)
CMYKcmyk(0%, 61%, 13.2%, 19.6%)
CIE-LABlab(53.96, 60.50, -27.74)
CIE-LCHlch(53.96, 66.56, 335.36°)
OKLaboklab(62.82% 0.1774 -0.0751)
OKLCHoklch(62.82% 0.193 337)
XYZxyz(36.0818, 21.9338, 44.4441)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50B2 #50CD6B
analogous
#A950CD #CD50B2 #CD5073
triadic
#CD50B2 #B2CD50 #50B2CD
tetradic
#CD50B2 #CDA950 #50CD6B #5073CD
square
#CD50B2 #CDA950 #50CD6B #5073CD
split-complementary
#CD50B2 #73CD50 #50CDA9
monochromatic
#7E246B #AE3293 #CD50B2 #DB80C7 #E8AFDC

Accessibility & contrast

On white

3.90
#CD50B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CD50B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50B2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50B2#FFFFFF#000000##000000
##CD50B21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#7988AF
Tritanopia (blue-blind)
#D7567A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd50b2;
/* rgb */ color: rgb(205, 80, 178);
/* oklch */ color: oklch(62.8% 0.193 337.0);
Tailwind
colors: {
  custom: {
    50: '#df88c9',
    500: '#cd50b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd50b2;
$custom-light: #df88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50b2",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 312.96,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6282,
    "c": 0.19262,
    "h": 337
  },
  "luminance": 0.21931
}

Semantic roles & 50–950 ramp

primary
#CD50B2
secondary
#A2D6AE
accent
#DF6949
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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