#CD50B3#CD50B3

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

Color values

HEX#CD50B3
RGBrgb(205, 80, 179)
HSLhsl(312, 56%, 56%)
HSVhsv(312, 61%, 80%)
CMYKcmyk(0%, 61%, 12.7%, 19.6%)
CIE-LABlab(54.00, 60.65, -28.26)
CIE-LCHlch(54.00, 66.91, 335.02°)
OKLaboklab(62.87% 0.1775 -0.0766)
OKLCHoklch(62.87% 0.193 336.7)
XYZxyz(36.1826, 21.9741, 44.9748)
Luminance0.2197 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50B3 #50CD6A
analogous
#A850CD #CD50B3 #CD5074
triadic
#CD50B3 #B3CD50 #50B3CD
tetradic
#CD50B3 #CDA850 #50CD6A #5074CD
square
#CD50B3 #CDA850 #50CD6A #5074CD
split-complementary
#CD50B3 #74CD50 #50CDA8
monochromatic
#7E246C #AE3294 #CD50B3 #DB80C8 #E8AFDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD50B3#FFFFFF#000000##000000
##CD50B31.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B6
Deuteranopia (green-blind)
#7988B0
Tritanopia (blue-blind)
#D7567A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd50b3;
/* rgb */ color: rgb(205, 80, 179);
/* oklch */ color: oklch(62.9% 0.193 336.7);
Tailwind
colors: {
  custom: {
    50: '#df88ca',
    500: '#cd50b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd50b3;
$custom-light: #df88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50b3",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 312.48,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62865,
    "c": 0.19334,
    "h": 336.7
  },
  "luminance": 0.21971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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