#CC8EA8#CC8EA8

#CC8EA8 is a light, moderate pink. Relative luminance 0.350; OKLCH L 71.5% C 0.082 H 352.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#CC8EA8
RGBrgb(204, 142, 168)
HSLhsl(335, 38%, 68%)
HSVhsv(335, 30%, 80%)
CMYKcmyk(0%, 30.4%, 17.6%, 20%)
CIE-LABlab(65.76, 27.35, -4.16)
CIE-LCHlch(65.76, 27.66, 351.34°)
OKLaboklab(71.54% 0.0814 -0.0107)
OKLCHoklch(71.54% 0.082 352.5)
XYZxyz(41.6430, 35.0127, 41.6028)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EA8 #8ECCB2
analogous
#CC8EC7 #CC8EA8 #CC938E
triadic
#CC8EA8 #A8CC8E #8EA8CC
tetradic
#CC8EA8 #C7CC8E #8ECCB2 #938ECC
square
#CC8EA8 #C7CC8E #8ECCB2 #938ECC
split-complementary
#CC8EA8 #8ECC93 #8EC7CC
monochromatic
#9A4669 #B96488 #CC8EA8 #DFB8C8 #F2E2E9

Accessibility & contrast

On white

2.62
#CC8EA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#CC8EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EA8
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EA8#FFFFFF#000000##000000
##CC8EA81.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9499A9
Deuteranopia (green-blind)
#A3A4A6
Tritanopia (blue-blind)
#D58C97
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc8ea8;
/* rgb */ color: rgb(204, 142, 168);
/* oklch */ color: oklch(71.5% 0.082 352.5);
Tailwind
colors: {
  custom: {
    50: '#dcafc1',
    500: '#cc8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ea8;
$custom-light: #dcafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ea8",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 334.839,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71541,
    "c": 0.08213,
    "h": 352.5
  },
  "luminance": 0.35011
}

Semantic roles & 50–950 ramp

primary
#CC8EA8
secondary
#D1E4DC
accent
#B17D35
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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