#CD50B4#CD50B4

#CD50B4 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.9% C 0.194 H 336.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CD50B4
RGBrgb(205, 80, 180)
HSLhsl(312, 56%, 56%)
HSVhsv(312, 61%, 80%)
CMYKcmyk(0%, 61%, 12.2%, 19.6%)
CIE-LABlab(54.04, 60.80, -28.77)
CIE-LCHlch(54.04, 67.27, 334.68°)
OKLaboklab(62.91% 0.1777 -0.0781)
OKLCHoklch(62.91% 0.194 336.3)
XYZxyz(36.2841, 22.0147, 45.5094)
Luminance0.2201 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50B4 #50CD69
analogous
#A750CD #CD50B4 #CD5075
triadic
#CD50B4 #B4CD50 #50B4CD
tetradic
#CD50B4 #CDA750 #50CD69 #5075CD
square
#CD50B4 #CDA750 #50CD69 #5075CD
split-complementary
#CD50B4 #75CD50 #50CDA7
monochromatic
#7E246C #AE3295 #CD50B4 #DB80C8 #E8AFDD

Accessibility & contrast

On white

3.89
#CD50B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CD50B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50B4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50B4#FFFFFF#000000##000000
##CD50B41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B7
Deuteranopia (green-blind)
#7888B1
Tritanopia (blue-blind)
#D7567B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd50b4;
/* rgb */ color: rgb(205, 80, 180);
/* oklch */ color: oklch(62.9% 0.194 336.3);
Tailwind
colors: {
  custom: {
    50: '#df88ca',
    500: '#cd50b4',
    950: '#000000',
  },
}
SCSS
$custom: #cd50b4;
$custom-light: #df88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50b4",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 312,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62911,
    "c": 0.19408,
    "h": 336.3
  },
  "luminance": 0.22012
}

Semantic roles & 50–950 ramp

primary
#CD50B4
secondary
#A2D6AD
accent
#DF6749
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD50B4

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

Preview Lab → · Contrast checker → · Palette generator →

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