#CB87AC#CB87AC

#CB87AC is a light, moderate pink. Relative luminance 0.330; OKLCH L 70.3% C 0.096 H 346.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CB87AC
RGBrgb(203, 135, 172)
HSLhsl(327, 40%, 66%)
HSVhsv(327, 33%, 80%)
CMYKcmyk(0%, 33.5%, 15.3%, 20.4%)
CIE-LABlab(64.17, 31.45, -8.80)
CIE-LCHlch(64.17, 32.66, 344.37°)
OKLaboklab(70.34% 0.0928 -0.0231)
OKLCHoklch(70.34% 0.096 346)
XYZxyz(40.7392, 33.0052, 43.2465)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB87AC #87CBA6
analogous
#C887CB #CB87AC #CB878A
triadic
#CB87AC #ACCB87 #87ACCB
tetradic
#CB87AC #CBC887 #87CBA6 #878ACB
square
#CB87AC #CBC887 #87CBA6 #878ACB
split-complementary
#CB87AC #8ACB87 #87CBC8
monochromatic
#964170 #B85C8E #CB87AC #DEB2CA #F0DCE7

Accessibility & contrast

On white

2.76
#CB87AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CB87AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB87AC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB87AC#FFFFFF#000000##000000
##CB87AC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C95AD
Deuteranopia (green-blind)
#9CA0AA
Tritanopia (blue-blind)
#D48694
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb87ac;
/* rgb */ color: rgb(203, 135, 172);
/* oklch */ color: oklch(70.3% 0.096 346.0);
Tailwind
colors: {
  custom: {
    50: '#dcabc4',
    500: '#cb87ac',
    950: '#000000',
  },
}
SCSS
$custom: #cb87ac;
$custom-light: #dcabc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb87ac",
  "rgb": {
    "r": 203,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 327.353,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70337,
    "c": 0.09563,
    "h": 346
  },
  "luminance": 0.33003
}

Semantic roles & 50–950 ramp

primary
#CB87AC
secondary
#CCE2D6
accent
#B36D33
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151012
muted
#837F81

Preview Lab

Preview with #CB87AC

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

Preview Lab → · Contrast checker → · Palette generator →

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