#CD50B7#CD50B7

#CD50B7 is a light, vivid pink. Relative luminance 0.221; OKLCH L 63.0% C 0.196 H 335.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CD50B7
RGBrgb(205, 80, 183)
HSLhsl(311, 56%, 56%)
HSVhsv(311, 61%, 80%)
CMYKcmyk(0%, 61%, 10.7%, 19.6%)
CIE-LABlab(54.17, 61.27, -30.31)
CIE-LCHlch(54.17, 68.35, 333.68°)
OKLaboklab(63.05% 0.1782 -0.0824)
OKLCHoklch(63.05% 0.196 335.2)
XYZxyz(36.5930, 22.1382, 47.1364)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50B7 #50CD66
analogous
#A450CD #CD50B7 #CD5078
triadic
#CD50B7 #B7CD50 #50B7CD
tetradic
#CD50B7 #CDA450 #50CD66 #5078CD
square
#CD50B7 #CDA450 #50CD66 #5078CD
split-complementary
#CD50B7 #78CD50 #50CDA4
monochromatic
#7E246F #AE3298 #CD50B7 #DB80CB #E8AFDE

Accessibility & contrast

On white

3.87
#CD50B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CD50B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50B7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50B7#FFFFFF#000000##000000
##CD50B71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5076BA
Deuteranopia (green-blind)
#7788B4
Tritanopia (blue-blind)
#D6587C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd50b7;
/* rgb */ color: rgb(205, 80, 183);
/* oklch */ color: oklch(63.0% 0.196 335.2);
Tailwind
colors: {
  custom: {
    50: '#df88cd',
    500: '#cd50b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd50b7;
$custom-light: #df88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50b7",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 310.56,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63049,
    "c": 0.1963,
    "h": 335.2
  },
  "luminance": 0.22135
}

Semantic roles & 50–950 ramp

primary
#CD50B7
secondary
#A2D6AC
accent
#DF6349
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD50B7

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

Preview Lab → · Contrast checker → · Palette generator →

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