#CD50B8#CD50B8

#CD50B8 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.1% C 0.197 H 334.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CD50B8
RGBrgb(205, 80, 184)
HSLhsl(310, 56%, 56%)
HSVhsv(310, 61%, 80%)
CMYKcmyk(0%, 61%, 10.2%, 19.6%)
CIE-LABlab(54.22, 61.42, -30.82)
CIE-LCHlch(54.22, 68.72, 333.36°)
OKLaboklab(63.1% 0.1783 -0.0839)
OKLCHoklch(63.1% 0.197 334.8)
XYZxyz(36.6975, 22.1800, 47.6865)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50B8 #50CD65
analogous
#A350CD #CD50B8 #CD5079
triadic
#CD50B8 #B8CD50 #50B8CD
tetradic
#CD50B8 #CDA350 #50CD65 #5079CD
square
#CD50B8 #CDA350 #50CD65 #5079CD
split-complementary
#CD50B8 #79CD50 #50CDA3
monochromatic
#7E246F #AE3299 #CD50B8 #DB80CB #E8AFDF

Accessibility & contrast

On white

3.86
#CD50B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CD50B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50B8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50B8#FFFFFF#000000##000000
##CD50B81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5076BB
Deuteranopia (green-blind)
#7788B5
Tritanopia (blue-blind)
#D6587D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd50b8;
/* rgb */ color: rgb(205, 80, 184);
/* oklch */ color: oklch(63.1% 0.197 334.8);
Tailwind
colors: {
  custom: {
    50: '#df88cd',
    500: '#cd50b8',
    950: '#000000',
  },
}
SCSS
$custom: #cd50b8;
$custom-light: #df88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50b8",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 184
  },
  "hsl": {
    "h": 310.08,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63096,
    "c": 0.19705,
    "h": 334.8
  },
  "luminance": 0.22177
}

Semantic roles & 50–950 ramp

primary
#CD50B8
secondary
#A2D6AB
accent
#DF6249
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD50B8

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

Preview Lab → · Contrast checker → · Palette generator →

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