#CA87AD#CA87AD

#CA87AD is a light, moderate pink. Relative luminance 0.329; OKLCH L 70.3% C 0.095 H 344.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CA87AD
RGBrgb(202, 135, 173)
HSLhsl(326, 39%, 66%)
HSVhsv(326, 33%, 79%)
CMYKcmyk(0%, 33.2%, 14.4%, 20.8%)
CIE-LABlab(64.08, 31.26, -9.50)
CIE-LCHlch(64.08, 32.67, 343.10°)
OKLaboklab(70.26% 0.092 -0.025)
OKLCHoklch(70.26% 0.095 344.8)
XYZxyz(40.5641, 32.9037, 43.7415)
Luminance0.3290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87AD #87CAA4
analogous
#C587CA #CA87AD #CA878B
triadic
#CA87AD #ADCA87 #87ADCA
tetradic
#CA87AD #CAC587 #87CAA4 #878BCA
square
#CA87AD #CAC587 #87CAA4 #878BCA
split-complementary
#CA87AD #8BCA87 #87CAC5
monochromatic
#954271 #B75D90 #CA87AD #DDB1CA #EFDCE7

Accessibility & contrast

On white

2.77
#CA87AD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CA87AD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87AD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87AD#FFFFFF#000000##000000
##CA87AD1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B95AE
Deuteranopia (green-blind)
#9C9FAB
Tritanopia (blue-blind)
#D38794
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca87ad;
/* rgb */ color: rgb(202, 135, 173);
/* oklch */ color: oklch(70.3% 0.095 344.8);
Tailwind
colors: {
  custom: {
    50: '#dbabc5',
    500: '#ca87ad',
    950: '#000000',
  },
}
SCSS
$custom: #ca87ad;
$custom-light: #dbabc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87ad",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 173
  },
  "hsl": {
    "h": 325.97,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.7026,
    "c": 0.09532,
    "h": 344.8
  },
  "luminance": 0.32902
}

Semantic roles & 50–950 ramp

primary
#CA87AD
secondary
#CBE1D5
accent
#B26A34
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151012
muted
#837F81

Preview Lab

Preview with #CA87AD

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

Preview Lab → · Contrast checker → · Palette generator →

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