#CE87BD#CE87BD

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

Color values

HEX#CE87BD
RGBrgb(206, 135, 189)
HSLhsl(314, 42%, 67%)
HSVhsv(314, 34%, 81%)
CMYKcmyk(0%, 34.5%, 8.3%, 19.2%)
CIE-LABlab(65.06, 35.33, -17.01)
CIE-LCHlch(65.06, 39.21, 334.29°)
OKLaboklab(71.28% 0.1016 -0.0455)
OKLCHoklch(71.28% 0.111 335.9)
XYZxyz(43.3026, 34.1259, 52.4403)
Luminance0.3412 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87BD #87CE98
analogous
#BC87CE #CE87BD #CE879A
triadic
#CE87BD #BDCE87 #87BDCE
tetradic
#CE87BD #CEBC87 #87CE98 #879ACE
square
#CE87BD #CEBC87 #87CE98 #879ACE
split-complementary
#CE87BD #9ACE87 #87CEBC
monochromatic
#9B3F85 #BC5CA5 #CE87BD #E0B2D5 #F1DEED

Accessibility & contrast

On white

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

On black

7.82
#CE87BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87BD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87BD#FFFFFF#000000##000000
##CE87BD1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8897BF
Deuteranopia (green-blind)
#99A2BB
Tritanopia (blue-blind)
#D58A9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce87bd;
/* rgb */ color: rgb(206, 135, 189);
/* oklch */ color: oklch(71.3% 0.111 335.9);
Tailwind
colors: {
  custom: {
    50: '#deabd1',
    500: '#ce87bd',
    950: '#000000',
  },
}
SCSS
$custom: #ce87bd;
$custom-light: #deabd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87bd",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 314.366,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71279,
    "c": 0.11133,
    "h": 335.9
  },
  "luminance": 0.34124
}

Semantic roles & 50–950 ramp

primary
#CE87BD
secondary
#CDE4D2
accent
#B55030
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CE87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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