#CC8EBA#CC8EBA

#CC8EBA is a light, moderate pink. Relative luminance 0.357; OKLCH L 72.1% C 0.095 H 337.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CC8EBA
RGBrgb(204, 142, 186)
HSLhsl(317, 38%, 68%)
HSVhsv(317, 30%, 80%)
CMYKcmyk(0%, 30.4%, 8.8%, 20%)
CIE-LABlab(66.31, 30.34, -13.46)
CIE-LCHlch(66.31, 33.19, 336.08°)
OKLaboklab(72.15% 0.0875 -0.0358)
OKLCHoklch(72.15% 0.095 337.7)
XYZxyz(43.4375, 35.7304, 51.0535)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EBA #8ECCA0
analogous
#BF8ECC #CC8EBA #CC8E9B
triadic
#CC8EBA #BACC8E #8EBACC
tetradic
#CC8EBA #CCBF8E #8ECCA0 #8E9BCC
square
#CC8EBA #CCBF8E #8ECCA0 #8E9BCC
split-complementary
#CC8EBA #9BCC8E #8ECCBF
monochromatic
#9A4682 #B964A0 #CC8EBA #DFB8D4 #F2E2ED

Accessibility & contrast

On white

2.58
#CC8EBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CC8EBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EBA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EBA#FFFFFF#000000##000000
##CC8EBA1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9CBC
Deuteranopia (green-blind)
#9EA5B8
Tritanopia (blue-blind)
#D3909D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc8eba;
/* rgb */ color: rgb(204, 142, 186);
/* oklch */ color: oklch(72.1% 0.095 337.7);
Tailwind
colors: {
  custom: {
    50: '#dcb0ce',
    500: '#cc8eba',
    950: '#000000',
  },
}
SCSS
$custom: #cc8eba;
$custom-light: #dcb0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8eba",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 186
  },
  "hsl": {
    "h": 317.419,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72149,
    "c": 0.09457,
    "h": 337.7
  },
  "luminance": 0.35729
}

Semantic roles & 50–950 ramp

primary
#CC8EBA
secondary
#D1E4D7
accent
#B15935
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151013
muted
#837F82

Preview Lab

Preview with #CC8EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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