#CE87BC#CE87BC

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

Color values

HEX#CE87BC
RGBrgb(206, 135, 188)
HSLhsl(315, 42%, 67%)
HSVhsv(315, 34%, 81%)
CMYKcmyk(0%, 34.5%, 8.7%, 19.2%)
CIE-LABlab(65.03, 35.16, -16.50)
CIE-LCHlch(65.03, 38.83, 334.86°)
OKLaboklab(71.24% 0.1013 -0.0441)
OKLCHoklch(71.24% 0.111 336.5)
XYZxyz(43.1944, 34.0827, 51.8706)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87BC #87CE99
analogous
#BD87CE #CE87BC #CE8799
triadic
#CE87BC #BCCE87 #87BCCE
tetradic
#CE87BC #CEBD87 #87CE99 #8799CE
square
#CE87BC #CEBD87 #87CE99 #8799CE
split-complementary
#CE87BC #99CE87 #87CEBD
monochromatic
#9B3F84 #BC5CA4 #CE87BC #E0B2D4 #F1DEED

Accessibility & contrast

On white

2.69
#CE87BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE87BC#FFFFFF#000000##000000
##CE87BC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8897BE
Deuteranopia (green-blind)
#99A2BA
Tritanopia (blue-blind)
#D5899A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce87bc;
/* rgb */ color: rgb(206, 135, 188);
/* oklch */ color: oklch(71.2% 0.111 336.5);
Tailwind
colors: {
  custom: {
    50: '#deabd0',
    500: '#ce87bc',
    950: '#000000',
  },
}
SCSS
$custom: #ce87bc;
$custom-light: #deabd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87bc",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 315.211,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71242,
    "c": 0.1105,
    "h": 336.5
  },
  "luminance": 0.34081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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