#CA87AB#CA87AB

#CA87AB is a light, moderate pink. Relative luminance 0.328; OKLCH L 70.2% C 0.094 H 346.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CA87AB
RGBrgb(202, 135, 171)
HSLhsl(328, 39%, 66%)
HSVhsv(328, 33%, 79%)
CMYKcmyk(0%, 33.2%, 15.3%, 20.8%)
CIE-LABlab(64.02, 30.94, -8.46)
CIE-LCHlch(64.02, 32.07, 344.70°)
OKLaboklab(70.19% 0.0913 -0.0222)
OKLCHoklch(70.19% 0.094 346.4)
XYZxyz(40.3720, 32.8269, 42.7299)
Luminance0.3282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87AB #87CAA6
analogous
#C787CA #CA87AB #CA8789
triadic
#CA87AB #ABCA87 #87ABCA
tetradic
#CA87AB #CAC787 #87CAA6 #8789CA
square
#CA87AB #CAC787 #87CAA6 #8789CA
split-complementary
#CA87AB #89CA87 #87CAC7
monochromatic
#95426E #B75D8D #CA87AB #DDB1C9 #EFDCE6

Accessibility & contrast

On white

2.78
#CA87AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CA87AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87AB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87AB#FFFFFF#000000##000000
##CA87AB1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C95AC
Deuteranopia (green-blind)
#9C9FA9
Tritanopia (blue-blind)
#D38694
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca87ab;
/* rgb */ color: rgb(202, 135, 171);
/* oklch */ color: oklch(70.2% 0.094 346.4);
Tailwind
colors: {
  custom: {
    50: '#dbabc4',
    500: '#ca87ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca87ab;
$custom-light: #dbabc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87ab",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 327.761,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70192,
    "c": 0.09397,
    "h": 346.4
  },
  "luminance": 0.32825
}

Semantic roles & 50–950 ramp

primary
#CA87AB
secondary
#CBE1D6
accent
#B26E34
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151012
muted
#837F81

Preview Lab

Preview with #CA87AB

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

Preview Lab → · Contrast checker → · Palette generator →

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