#CA87AC#CA87AC

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

Color values

HEX#CA87AC
RGBrgb(202, 135, 172)
HSLhsl(327, 39%, 66%)
HSVhsv(327, 33%, 79%)
CMYKcmyk(0%, 33.2%, 14.9%, 20.8%)
CIE-LABlab(64.05, 31.10, -8.98)
CIE-LCHlch(64.05, 32.37, 343.89°)
OKLaboklab(70.23% 0.0917 -0.0236)
OKLCHoklch(70.23% 0.095 345.6)
XYZxyz(40.4677, 32.8652, 43.2338)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87AC #87CAA5
analogous
#C687CA #CA87AC #CA878A
triadic
#CA87AC #ACCA87 #87ACCA
tetradic
#CA87AC #CAC687 #87CAA5 #878ACA
square
#CA87AC #CAC687 #87CAA5 #878ACA
split-complementary
#CA87AC #8ACA87 #87CAC6
monochromatic
#954270 #B75D8F #CA87AC #DDB1C9 #EFDCE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA87AC#FFFFFF#000000##000000
##CA87AC1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca87ac;
/* rgb */ color: rgb(202, 135, 172);
/* oklch */ color: oklch(70.2% 0.095 345.6);
Tailwind
colors: {
  custom: {
    50: '#dbabc4',
    500: '#ca87ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca87ac;
$custom-light: #dbabc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87ac",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 326.866,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70226,
    "c": 0.09464,
    "h": 345.6
  },
  "luminance": 0.32863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA87AC

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

Preview Lab → · Contrast checker → · Palette generator →

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