#CB87AF#CB87AF

#CB87AF is a light, moderate pink. Relative luminance 0.331; OKLCH L 70.4% C 0.098 H 343.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CB87AF
RGBrgb(203, 135, 175)
HSLhsl(325, 40%, 66%)
HSVhsv(325, 33%, 80%)
CMYKcmyk(0%, 33.5%, 13.8%, 20.4%)
CIE-LABlab(64.26, 31.94, -10.36)
CIE-LCHlch(64.26, 33.58, 342.04°)
OKLaboklab(70.44% 0.0938 -0.0273)
OKLCHoklch(70.44% 0.098 343.8)
XYZxyz(41.0305, 33.1217, 44.7811)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB87AF #87CBA3
analogous
#C587CB #CB87AF #CB878D
triadic
#CB87AF #AFCB87 #87AFCB
tetradic
#CB87AF #CBC587 #87CBA3 #878DCB
square
#CB87AF #CBC587 #87CBA3 #878DCB
split-complementary
#CB87AF #8DCB87 #87CBC5
monochromatic
#964173 #B85C93 #CB87AF #DEB2CB #F0DCE8

Accessibility & contrast

On white

2.75
#CB87AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CB87AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB87AF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB87AF#FFFFFF#000000##000000
##CB87AF1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B95B1
Deuteranopia (green-blind)
#9CA0AD
Tritanopia (blue-blind)
#D38795
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb87af;
/* rgb */ color: rgb(203, 135, 175);
/* oklch */ color: oklch(70.4% 0.098 343.8);
Tailwind
colors: {
  custom: {
    50: '#dcabc6',
    500: '#cb87af',
    950: '#000000',
  },
}
SCSS
$custom: #cb87af;
$custom-light: #dcabc6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb87af",
  "rgb": {
    "r": 203,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 324.706,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7044,
    "c": 0.09769,
    "h": 343.8
  },
  "luminance": 0.3312
}

Semantic roles & 50–950 ramp

primary
#CB87AF
secondary
#CCE2D5
accent
#B36733
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CB87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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