#CF87BB#CF87BB

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

Color values

HEX#CF87BB
RGBrgb(207, 135, 187)
HSLhsl(317, 43%, 67%)
HSVhsv(317, 35%, 81%)
CMYKcmyk(0%, 34.8%, 9.7%, 18.8%)
CIE-LABlab(65.11, 35.32, -15.80)
CIE-LCHlch(65.11, 38.69, 335.89°)
OKLaboklab(71.32% 0.1021 -0.0422)
OKLCHoklch(71.32% 0.111 337.6)
XYZxyz(43.3656, 34.1833, 51.3179)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF87BB #87CF9B
analogous
#BF87CF #CF87BB #CF8797
triadic
#CF87BB #BBCF87 #87BBCF
tetradic
#CF87BB #CFBF87 #87CF9B #8797CF
square
#CF87BB #CFBF87 #87CF9B #8797CF
split-complementary
#CF87BB #97CF87 #87CFBF
monochromatic
#9D3F83 #BE5BA2 #CF87BB #E0B3D4 #F2DEED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF87BB#FFFFFF#000000##000000
##CF87BB1.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)
#8997BD
Deuteranopia (green-blind)
#9AA2B9
Tritanopia (blue-blind)
#D6899A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf87bb;
/* rgb */ color: rgb(207, 135, 187);
/* oklch */ color: oklch(71.3% 0.111 337.6);
Tailwind
colors: {
  custom: {
    50: '#dfabcf',
    500: '#cf87bb',
    950: '#000000',
  },
}
SCSS
$custom: #cf87bb;
$custom-light: #dfabcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf87bb",
  "rgb": {
    "r": 207,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 316.667,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71316,
    "c": 0.11051,
    "h": 337.6
  },
  "luminance": 0.34181
}

Semantic roles & 50–950 ramp

primary
#CF87BB
secondary
#CDE4D4
accent
#B65530
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151013
muted
#837F82

Preview Lab

Preview with #CF87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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