#CB5DB7#CB5DB7

#CB5DB7 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.4% C 0.176 H 334.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CB5DB7
RGBrgb(203, 93, 183)
HSLhsl(311, 51%, 58%)
HSVhsv(311, 54%, 80%)
CMYKcmyk(0%, 54.2%, 9.9%, 20.4%)
CIE-LABlab(56.03, 54.89, -27.44)
CIE-LCHlch(56.03, 61.36, 333.43°)
OKLaboklab(64.36% 0.1589 -0.0744)
OKLCHoklch(64.36% 0.176 334.9)
XYZxyz(37.0903, 23.9468, 47.4592)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DB7 #5DCB71
analogous
#A85DCB #CB5DB7 #CB5D80
triadic
#CB5DB7 #B7CB5D #5DB7CB
tetradic
#CB5DB7 #CBA85D #5DCB71 #5D80CB
square
#CB5DB7 #CBA85D #5DCB71 #5D80CB
split-complementary
#CB5DB7 #80CB5D #5DCBA8
monochromatic
#832A73 #B2399C #CB5DB7 #DA8BCC #E9BAE0

Accessibility & contrast

On white

3.63
#CB5DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CB5DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DB7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DB7#FFFFFF#000000##000000
##CB5DB71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CBA
Deuteranopia (green-blind)
#7D8CB4
Tritanopia (blue-blind)
#D46382
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb5db7;
/* rgb */ color: rgb(203, 93, 183);
/* oklch */ color: oklch(64.4% 0.176 334.9);
Tailwind
colors: {
  custom: {
    50: '#dd90cd',
    500: '#cb5db7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5db7;
$custom-light: #dd90cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5db7",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 310.909,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64359,
    "c": 0.17551,
    "h": 334.9
  },
  "luminance": 0.23944
}

Semantic roles & 50–950 ramp

primary
#CB5DB7
secondary
#ACD8B4
accent
#DB674D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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