#CA87BE#CA87BE

#CA87BE is a light, moderate pink. Relative luminance 0.336; OKLCH L 70.9% C 0.109 H 333.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CA87BE
RGBrgb(202, 135, 190)
HSLhsl(311, 39%, 66%)
HSVhsv(311, 33%, 79%)
CMYKcmyk(0%, 33.2%, 5.9%, 20.8%)
CIE-LABlab(64.65, 34.17, -18.24)
CIE-LCHlch(64.65, 38.74, 331.90°)
OKLaboklab(70.88% 0.0973 -0.049)
OKLCHoklch(70.88% 0.109 333.3)
XYZxyz(42.3149, 33.6041, 52.9625)
Luminance0.3360 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87BE #87CA93
analogous
#B487CA #CA87BE #CA879C
triadic
#CA87BE #BECA87 #87BECA
tetradic
#CA87BE #CAB487 #87CA93 #879CCA
square
#CA87BE #CAB487 #87CA93 #879CCA
split-complementary
#CA87BE #9CCA87 #87CAB4
monochromatic
#954286 #B75DA7 #CA87BE #DDB1D5 #EFDCEC

Accessibility & contrast

On white

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

On black

7.72
#CA87BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87BE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87BE#FFFFFF#000000##000000
##CA87BE1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8697C0
Deuteranopia (green-blind)
#97A0BC
Tritanopia (blue-blind)
#D08A9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca87be;
/* rgb */ color: rgb(202, 135, 190);
/* oklch */ color: oklch(70.9% 0.109 333.3);
Tailwind
colors: {
  custom: {
    50: '#dbabd1',
    500: '#ca87be',
    950: '#000000',
  },
}
SCSS
$custom: #ca87be;
$custom-light: #dbabd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87be",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 310.746,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70875,
    "c": 0.10896,
    "h": 333.3
  },
  "luminance": 0.33602
}

Semantic roles & 50–950 ramp

primary
#CA87BE
secondary
#CBE1CF
accent
#B24A34
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CA87BE

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

Preview Lab → · Contrast checker → · Palette generator →

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