#CF87BC#CF87BC

#CF87BC is a light, moderate pink. Relative luminance 0.342; OKLCH L 71.4% C 0.111 H 336.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CF87BC
RGBrgb(207, 135, 188)
HSLhsl(316, 43%, 67%)
HSVhsv(316, 35%, 81%)
CMYKcmyk(0%, 34.8%, 9.2%, 18.8%)
CIE-LABlab(65.14, 35.49, -16.31)
CIE-LCHlch(65.14, 39.06, 335.31°)
OKLaboklab(71.35% 0.1024 -0.0436)
OKLCHoklch(71.35% 0.111 336.9)
XYZxyz(43.4730, 34.2263, 51.8837)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF87BC #87CF9A
analogous
#BE87CF #CF87BC #CF8798
triadic
#CF87BC #BCCF87 #87BCCF
tetradic
#CF87BC #CFBE87 #87CF9A #8798CF
square
#CF87BC #CFBE87 #87CF9A #8798CF
split-complementary
#CF87BC #98CF87 #87CFBE
monochromatic
#9D3F84 #BE5BA4 #CF87BC #E0B3D4 #F2DEED

Accessibility & contrast

On white

2.68
#CF87BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CF87BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF87BC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF87BC#FFFFFF#000000##000000
##CF87BC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf87bc;
/* rgb */ color: rgb(207, 135, 188);
/* oklch */ color: oklch(71.4% 0.111 336.9);
Tailwind
colors: {
  custom: {
    50: '#dfabd0',
    500: '#cf87bc',
    950: '#000000',
  },
}
SCSS
$custom: #cf87bc;
$custom-light: #dfabd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf87bc",
  "rgb": {
    "r": 207,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 315.833,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71353,
    "c": 0.11134,
    "h": 336.9
  },
  "luminance": 0.34224
}

Semantic roles & 50–950 ramp

primary
#CF87BC
secondary
#CDE4D4
accent
#B65330
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CF87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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