#CF87BD#CF87BD

#CF87BD is a light, moderate pink. Relative luminance 0.343; OKLCH L 71.4% C 0.112 H 336.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CF87BD
RGBrgb(207, 135, 189)
HSLhsl(315, 43%, 67%)
HSVhsv(315, 35%, 81%)
CMYKcmyk(0%, 34.8%, 8.7%, 18.8%)
CIE-LABlab(65.18, 35.66, -16.83)
CIE-LCHlch(65.18, 39.43, 334.74°)
OKLaboklab(71.39% 0.1027 -0.045)
OKLCHoklch(71.39% 0.112 336.3)
XYZxyz(43.5812, 34.2696, 52.4534)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF87BD #87CF99
analogous
#BD87CF #CF87BD #CF8799
triadic
#CF87BD #BDCF87 #87BDCF
tetradic
#CF87BD #CFBD87 #87CF99 #8799CF
square
#CF87BD #CFBD87 #87CF99 #8799CF
split-complementary
#CF87BD #99CF87 #87CFBD
monochromatic
#9D3F85 #BE5BA5 #CF87BD #E0B3D5 #F2DEED

Accessibility & contrast

On white

2.67
#CF87BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CF87BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF87BD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF87BD#FFFFFF#000000##000000
##CF87BD1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8898BF
Deuteranopia (green-blind)
#9AA2BB
Tritanopia (blue-blind)
#D6899A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf87bd;
/* rgb */ color: rgb(207, 135, 189);
/* oklch */ color: oklch(71.4% 0.112 336.3);
Tailwind
colors: {
  custom: {
    50: '#dfabd1',
    500: '#cf87bd',
    950: '#000000',
  },
}
SCSS
$custom: #cf87bd;
$custom-light: #dfabd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf87bd",
  "rgb": {
    "r": 207,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 315,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.7139,
    "c": 0.11217,
    "h": 336.3
  },
  "luminance": 0.34267
}

Semantic roles & 50–950 ramp

primary
#CF87BD
secondary
#CDE4D3
accent
#B65130
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CF87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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