#CF87BF#CF87BF

#CF87BF is a light, moderate pink. Relative luminance 0.344; OKLCH L 71.5% C 0.114 H 335.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CF87BF
RGBrgb(207, 135, 191)
HSLhsl(313, 43%, 67%)
HSVhsv(313, 35%, 81%)
CMYKcmyk(0%, 34.8%, 7.7%, 18.8%)
CIE-LABlab(65.25, 36.01, -17.84)
CIE-LCHlch(65.25, 40.19, 333.64°)
OKLaboklab(71.47% 0.1033 -0.0478)
OKLCHoklch(71.47% 0.114 335.2)
XYZxyz(43.7998, 34.3570, 53.6046)
Luminance0.3436 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF87BF #87CF97
analogous
#BB87CF #CF87BF #CF879B
triadic
#CF87BF #BFCF87 #87BFCF
tetradic
#CF87BF #CFBB87 #87CF97 #879BCF
square
#CF87BF #CFBB87 #87CF97 #879BCF
split-complementary
#CF87BF #9BCF87 #87CFBB
monochromatic
#9D3F88 #BE5BA8 #CF87BF #E0B3D6 #F2DEEE

Accessibility & contrast

On white

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

On black

7.87
#CF87BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF87BF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF87BF#FFFFFF#000000##000000
##CF87BF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8798C1
Deuteranopia (green-blind)
#99A2BD
Tritanopia (blue-blind)
#D68A9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf87bf;
/* rgb */ color: rgb(207, 135, 191);
/* oklch */ color: oklch(71.5% 0.114 335.2);
Tailwind
colors: {
  custom: {
    50: '#dfabd2',
    500: '#cf87bf',
    950: '#000000',
  },
}
SCSS
$custom: #cf87bf;
$custom-light: #dfabd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf87bf",
  "rgb": {
    "r": 207,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 313.333,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71465,
    "c": 0.11386,
    "h": 335.2
  },
  "luminance": 0.34355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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