#CE87BF#CE87BF

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

Color values

HEX#CE87BF
RGBrgb(206, 135, 191)
HSLhsl(313, 42%, 67%)
HSVhsv(313, 34%, 81%)
CMYKcmyk(0%, 34.5%, 7.3%, 19.2%)
CIE-LABlab(65.13, 35.68, -18.03)
CIE-LCHlch(65.13, 39.97, 333.19°)
OKLaboklab(71.35% 0.1022 -0.0484)
OKLCHoklch(71.35% 0.113 334.7)
XYZxyz(43.5212, 34.2134, 53.5915)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87BF #87CE96
analogous
#BA87CE #CE87BF #CE879C
triadic
#CE87BF #BFCE87 #87BFCE
tetradic
#CE87BF #CEBA87 #87CE96 #879CCE
square
#CE87BF #CEBA87 #87CE96 #879CCE
split-complementary
#CE87BF #9CCE87 #87CEBA
monochromatic
#9B3F88 #BC5CA8 #CE87BF #E0B2D6 #F1DEED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE87BF#FFFFFF#000000##000000
##CE87BF1.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)
#8798C1
Deuteranopia (green-blind)
#99A2BD
Tritanopia (blue-blind)
#D58A9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce87bf;
/* rgb */ color: rgb(206, 135, 191);
/* oklch */ color: oklch(71.4% 0.113 334.7);
Tailwind
colors: {
  custom: {
    50: '#deabd2',
    500: '#ce87bf',
    950: '#000000',
  },
}
SCSS
$custom: #ce87bf;
$custom-light: #deabd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87bf",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 312.676,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71354,
    "c": 0.11305,
    "h": 334.7
  },
  "luminance": 0.34211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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