#CB87BA#CB87BA

#CB87BA is a light, moderate pink. Relative luminance 0.336; OKLCH L 70.8% C 0.106 H 336.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CB87BA
RGBrgb(203, 135, 186)
HSLhsl(315, 40%, 66%)
HSVhsv(315, 33%, 80%)
CMYKcmyk(0%, 33.5%, 8.4%, 20.4%)
CIE-LABlab(64.62, 33.80, -16.02)
CIE-LCHlch(64.62, 37.41, 334.64°)
OKLaboklab(70.84% 0.0973 -0.0428)
OKLCHoklch(70.84% 0.106 336.2)
XYZxyz(42.1552, 33.5716, 50.7043)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB87BA #87CB98
analogous
#BA87CB #CB87BA #CB8798
triadic
#CB87BA #BACB87 #87BACB
tetradic
#CB87BA #CBBA87 #87CB98 #8798CB
square
#CB87BA #CBBA87 #87CB98 #8798CB
split-complementary
#CB87BA #98CB87 #87CBBA
monochromatic
#964181 #B85CA1 #CB87BA #DEB2D3 #F0DCEB

Accessibility & contrast

On white

2.72
#CB87BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CB87BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB87BA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB87BA#FFFFFF#000000##000000
##CB87BA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8897BC
Deuteranopia (green-blind)
#98A0B8
Tritanopia (blue-blind)
#D28999
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb87ba;
/* rgb */ color: rgb(203, 135, 186);
/* oklch */ color: oklch(70.8% 0.106 336.2);
Tailwind
colors: {
  custom: {
    50: '#dcabce',
    500: '#cb87ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb87ba;
$custom-light: #dcabce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb87ba",
  "rgb": {
    "r": 203,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 315,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70835,
    "c": 0.10629,
    "h": 336.2
  },
  "luminance": 0.3357
}

Semantic roles & 50–950 ramp

primary
#CB87BA
secondary
#CCE2D1
accent
#B35333
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151013
muted
#837F82

Preview Lab

Preview with #CB87BA

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

Preview Lab → · Contrast checker → · Palette generator →

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