#CB87A2#CB87A2

#CB87A2 is a light, moderate pink. Relative luminance 0.326; OKLCH L 70.0% C 0.090 H 354.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CB87A2
RGBrgb(203, 135, 162)
HSLhsl(336, 40%, 66%)
HSVhsv(336, 33%, 80%)
CMYKcmyk(0%, 33.5%, 20.2%, 20.4%)
CIE-LABlab(63.86, 29.87, -3.58)
CIE-LCHlch(63.86, 30.08, 353.17°)
OKLaboklab(70.01% 0.0894 -0.0091)
OKLCHoklch(70.01% 0.09 354.2)
XYZxyz(39.8147, 32.6354, 38.3776)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB87A2 #87CBB0
analogous
#CB87C4 #CB87A2 #CB8E87
triadic
#CB87A2 #A2CB87 #87A2CB
tetradic
#CB87A2 #C4CB87 #87CBB0 #8E87CB
square
#CB87A2 #C4CB87 #87CBB0 #8E87CB
split-complementary
#CB87A2 #87CB8E #87C4CB
monochromatic
#964163 #B85C81 #CB87A2 #DEB2C3 #F0DCE4

Accessibility & contrast

On white

2.79
#CB87A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CB87A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB87A2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB87A2#FFFFFF#000000##000000
##CB87A21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E94A3
Deuteranopia (green-blind)
#9F9FA0
Tritanopia (blue-blind)
#D58490
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb87a2;
/* rgb */ color: rgb(203, 135, 162);
/* oklch */ color: oklch(70.0% 0.090 354.2);
Tailwind
colors: {
  custom: {
    50: '#dcabbd',
    500: '#cb87a2',
    950: '#000000',
  },
}
SCSS
$custom: #cb87a2;
$custom-light: #dcabbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb87a2",
  "rgb": {
    "r": 203,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 336.176,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70009,
    "c": 0.08981,
    "h": 354.2
  },
  "luminance": 0.32633
}

Semantic roles & 50–950 ramp

primary
#CB87A2
secondary
#CCE2D9
accent
#B38033
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CB87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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