#CC8EBD#CC8EBD

#CC8EBD is a light, moderate pink. Relative luminance 0.359; OKLCH L 72.3% C 0.097 H 335.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CC8EBD
RGBrgb(204, 142, 189)
HSLhsl(315, 38%, 68%)
HSVhsv(315, 30%, 80%)
CMYKcmyk(0%, 30.4%, 7.4%, 20%)
CIE-LABlab(66.41, 30.86, -14.99)
CIE-LCHlch(66.41, 34.31, 334.09°)
OKLaboklab(72.26% 0.0885 -0.04)
OKLCHoklch(72.26% 0.097 335.6)
XYZxyz(43.7597, 35.8593, 52.7508)
Luminance0.3586 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EBD #8ECC9D
analogous
#BC8ECC #CC8EBD #CC8E9E
triadic
#CC8EBD #BDCC8E #8EBDCC
tetradic
#CC8EBD #CCBC8E #8ECC9D #8E9ECC
square
#CC8EBD #CCBC8E #8ECC9D #8E9ECC
split-complementary
#CC8EBD #9ECC8E #8ECCBC
monochromatic
#9A4686 #B964A4 #CC8EBD #DFB8D6 #F2E2EE

Accessibility & contrast

On white

2.57
#CC8EBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CC8EBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EBD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EBD#FFFFFF#000000##000000
##CC8EBD1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9CBF
Deuteranopia (green-blind)
#9DA5BB
Tritanopia (blue-blind)
#D2909F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc8ebd;
/* rgb */ color: rgb(204, 142, 189);
/* oklch */ color: oklch(72.3% 0.097 335.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0d1',
    500: '#cc8ebd',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ebd;
$custom-light: #dcb0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ebd",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 189
  },
  "hsl": {
    "h": 314.516,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72257,
    "c": 0.0971,
    "h": 335.6
  },
  "luminance": 0.35857
}

Semantic roles & 50–950 ramp

primary
#CC8EBD
secondary
#D1E4D6
accent
#B15335
background
#FDFAFC
surface
#FBF5F9
border
#D4CFD2
text
#151014
muted
#837F82

Preview Lab

Preview with #CC8EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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