#CB87BF#CB87BF

#CB87BF is a light, moderate pink. Relative luminance 0.338; OKLCH L 71.0% C 0.111 H 333.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CB87BF
RGBrgb(203, 135, 191)
HSLhsl(311, 40%, 66%)
HSVhsv(311, 33%, 80%)
CMYKcmyk(0%, 33.5%, 5.9%, 20.4%)
CIE-LABlab(64.79, 34.68, -18.57)
CIE-LCHlch(64.79, 39.34, 331.83°)
OKLaboklab(71.02% 0.0988 -0.0499)
OKLCHoklch(71.02% 0.111 333.2)
XYZxyz(42.6961, 33.7879, 53.5528)
Luminance0.3379 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB87BF #87CB93
analogous
#B587CB #CB87BF #CB879D
triadic
#CB87BF #BFCB87 #87BFCB
tetradic
#CB87BF #CBB587 #87CB93 #879DCB
square
#CB87BF #CBB587 #87CB93 #879DCB
split-complementary
#CB87BF #9DCB87 #87CBB5
monochromatic
#964187 #B85CA8 #CB87BF #DEB2D6 #F0DCED

Accessibility & contrast

On white

2.71
#CB87BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CB87BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB87BF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB87BF#FFFFFF#000000##000000
##CB87BF1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8697C1
Deuteranopia (green-blind)
#97A1BD
Tritanopia (blue-blind)
#D18A9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb87bf;
/* rgb */ color: rgb(203, 135, 191);
/* oklch */ color: oklch(71.0% 0.111 333.2);
Tailwind
colors: {
  custom: {
    50: '#dcabd2',
    500: '#cb87bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb87bf;
$custom-light: #dcabd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb87bf",
  "rgb": {
    "r": 203,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 310.588,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71023,
    "c": 0.11065,
    "h": 333.2
  },
  "luminance": 0.33786
}

Semantic roles & 50–950 ramp

primary
#CB87BF
secondary
#CCE2D0
accent
#B34933
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CB87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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