#CE87A2#CE87A2

#CE87A2 is a light, moderate pink. Relative luminance 0.331; OKLCH L 70.3% C 0.093 H 355.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CE87A2
RGBrgb(206, 135, 162)
HSLhsl(337, 42%, 67%)
HSVhsv(337, 34%, 81%)
CMYKcmyk(0%, 34.5%, 21.4%, 19.2%)
CIE-LABlab(64.21, 30.95, -3.03)
CIE-LCHlch(64.21, 31.10, 354.41°)
OKLaboklab(70.35% 0.0928 -0.0076)
OKLCHoklch(70.35% 0.093 355.3)
XYZxyz(40.6398, 33.0608, 38.4162)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87A2 #87CEB3
analogous
#CE87C6 #CE87A2 #CE9087
triadic
#CE87A2 #A2CE87 #87A2CE
tetradic
#CE87A2 #C6CE87 #87CEB3 #9087CE
square
#CE87A2 #C6CE87 #87CEB3 #9087CE
split-complementary
#CE87A2 #87CE90 #87C6CE
monochromatic
#9B3F62 #BC5C80 #CE87A2 #E0B2C4 #F1DEE5

Accessibility & contrast

On white

2.76
#CE87A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CE87A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87A2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87A2#FFFFFF#000000##000000
##CE87A21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F94A3
Deuteranopia (green-blind)
#A0A0A0
Tritanopia (blue-blind)
#D98490
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ce87a2;
/* rgb */ color: rgb(206, 135, 162);
/* oklch */ color: oklch(70.3% 0.093 355.3);
Tailwind
colors: {
  custom: {
    50: '#deabbd',
    500: '#ce87a2',
    950: '#000000',
  },
}
SCSS
$custom: #ce87a2;
$custom-light: #deabbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87a2",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 337.183,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.09308,
    "h": 355.3
  },
  "luminance": 0.33058
}

Semantic roles & 50–950 ramp

primary
#CE87A2
secondary
#CDE4DB
accent
#B58330
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CE87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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