#CA87A2#CA87A2

#CA87A2 is a light, moderate pink. Relative luminance 0.325; OKLCH L 69.9% C 0.089 H 353.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CA87A2
RGBrgb(202, 135, 162)
HSLhsl(336, 39%, 66%)
HSVhsv(336, 33%, 79%)
CMYKcmyk(0%, 33.2%, 19.8%, 20.8%)
CIE-LABlab(63.75, 29.51, -3.76)
CIE-LCHlch(63.75, 29.75, 352.74°)
OKLaboklab(69.9% 0.0882 -0.0095)
OKLCHoklch(69.9% 0.089 353.8)
XYZxyz(39.5432, 32.4954, 38.3648)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87A2 #87CAAF
analogous
#CA87C3 #CA87A2 #CA8D87
triadic
#CA87A2 #A2CA87 #87A2CA
tetradic
#CA87A2 #C3CA87 #87CAAF #8D87CA
square
#CA87A2 #C3CA87 #87CAAF #8D87CA
split-complementary
#CA87A2 #87CA8D #87C3CA
monochromatic
#954263 #B75D81 #CA87A2 #DDB1C3 #EFDCE4

Accessibility & contrast

On white

2.80
#CA87A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CA87A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87A2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87A2#FFFFFF#000000##000000
##CA87A21.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E94A3
Deuteranopia (green-blind)
#9E9FA0
Tritanopia (blue-blind)
#D48490
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca87a2;
/* rgb */ color: rgb(202, 135, 162);
/* oklch */ color: oklch(69.9% 0.089 353.8);
Tailwind
colors: {
  custom: {
    50: '#dbaabd',
    500: '#ca87a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca87a2;
$custom-light: #dbaabd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87a2",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 335.821,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69896,
    "c": 0.08873,
    "h": 353.8
  },
  "luminance": 0.32493
}

Semantic roles & 50–950 ramp

primary
#CA87A2
secondary
#CBE1D9
accent
#B27F34
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CA87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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