#CC8EBB#CC8EBB

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

Color values

HEX#CC8EBB
RGBrgb(204, 142, 187)
HSLhsl(316, 38%, 68%)
HSVhsv(316, 30%, 80%)
CMYKcmyk(0%, 30.4%, 8.3%, 20%)
CIE-LABlab(66.35, 30.51, -13.97)
CIE-LCHlch(66.35, 33.55, 335.40°)
OKLaboklab(72.18% 0.0878 -0.0372)
OKLCHoklch(72.18% 0.095 337)
XYZxyz(43.5441, 35.7731, 51.6153)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EBB #8ECC9F
analogous
#BE8ECC #CC8EBB #CC8E9C
triadic
#CC8EBB #BBCC8E #8EBBCC
tetradic
#CC8EBB #CCBE8E #8ECC9F #8E9CCC
square
#CC8EBB #CCBE8E #8ECC9F #8E9CCC
split-complementary
#CC8EBB #9CCC8E #8ECCBE
monochromatic
#9A4683 #B964A2 #CC8EBB #DFB8D4 #F2E2EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC8EBB#FFFFFF#000000##000000
##CC8EBB1.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)
#8F9CBD
Deuteranopia (green-blind)
#9EA5B9
Tritanopia (blue-blind)
#D3909E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc8ebb;
/* rgb */ color: rgb(204, 142, 187);
/* oklch */ color: oklch(72.2% 0.095 337.0);
Tailwind
colors: {
  custom: {
    50: '#dcb0cf',
    500: '#cc8ebb',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ebb;
$custom-light: #dcb0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ebb",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 187
  },
  "hsl": {
    "h": 316.452,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72184,
    "c": 0.0954,
    "h": 337
  },
  "luminance": 0.35771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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