#CC8EB2#CC8EB2

#CC8EB2 is a light, moderate pink. Relative luminance 0.354; OKLCH L 71.9% C 0.088 H 343.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CC8EB2
RGBrgb(204, 142, 178)
HSLhsl(325, 38%, 68%)
HSVhsv(325, 30%, 80%)
CMYKcmyk(0%, 30.4%, 12.7%, 20%)
CIE-LABlab(66.06, 28.97, -9.35)
CIE-LCHlch(66.06, 30.44, 342.12°)
OKLaboklab(71.87% 0.0849 -0.0246)
OKLCHoklch(71.87% 0.088 343.8)
XYZxyz(42.6107, 35.3997, 46.6992)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EB2 #8ECCA8
analogous
#C78ECC #CC8EB2 #CC8E93
triadic
#CC8EB2 #B2CC8E #8EB2CC
tetradic
#CC8EB2 #CCC78E #8ECCA8 #8E93CC
square
#CC8EB2 #CCC78E #8ECCA8 #8E93CC
split-complementary
#CC8EB2 #93CC8E #8ECCC7
monochromatic
#9A4677 #B96495 #CC8EB2 #DFB8CF #F2E2EB

Accessibility & contrast

On white

2.60
#CC8EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CC8EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EB2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EB2#FFFFFF#000000##000000
##CC8EB21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#929BB3
Deuteranopia (green-blind)
#A0A4B0
Tritanopia (blue-blind)
#D48E9A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc8eb2;
/* rgb */ color: rgb(204, 142, 178);
/* oklch */ color: oklch(71.9% 0.088 343.8);
Tailwind
colors: {
  custom: {
    50: '#dcafc9',
    500: '#cc8eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8eb2;
$custom-light: #dcafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8eb2",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 325.161,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7187,
    "c": 0.08839,
    "h": 343.8
  },
  "luminance": 0.35398
}

Semantic roles & 50–950 ramp

primary
#CC8EB2
secondary
#D1E4D9
accent
#B16935
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CC8EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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