#CC8EA1#CC8EA1

#CC8EA1 is a light, moderate pink. Relative luminance 0.348; OKLCH L 71.3% C 0.079 H 359.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CC8EA1
RGBrgb(204, 142, 161)
HSLhsl(342, 38%, 68%)
HSVhsv(342, 30%, 80%)
CMYKcmyk(0%, 30.4%, 21.1%, 20%)
CIE-LABlab(65.56, 26.26, -0.51)
CIE-LCHlch(65.56, 26.27, 358.89°)
OKLaboklab(71.32% 0.0789 -0.001)
OKLCHoklch(71.32% 0.079 359.3)
XYZxyz(41.0084, 34.7588, 38.2604)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EA1 #8ECCB9
analogous
#CC8EC0 #CC8EA1 #CC9A8E
triadic
#CC8EA1 #A1CC8E #8EA1CC
tetradic
#CC8EA1 #C0CC8E #8ECCB9 #9A8ECC
square
#CC8EA1 #C0CC8E #8ECCB9 #9A8ECC
split-complementary
#CC8EA1 #8ECC9A #8EC0CC
monochromatic
#9A465F #B9647E #CC8EA1 #DFB8C4 #F2E2E7

Accessibility & contrast

On white

2.64
#CC8EA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CC8EA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EA1
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EA1#FFFFFF#000000##000000
##CC8EA11.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9699A2
Deuteranopia (green-blind)
#A4A3A0
Tritanopia (blue-blind)
#D68B94
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc8ea1;
/* rgb */ color: rgb(204, 142, 161);
/* oklch */ color: oklch(71.3% 0.079 359.3);
Tailwind
colors: {
  custom: {
    50: '#dcafbc',
    500: '#cc8ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ea1;
$custom-light: #dcafbc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ea1",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 161
  },
  "hsl": {
    "h": 341.613,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71324,
    "c": 0.07891,
    "h": 359.3
  },
  "luminance": 0.34757
}

Semantic roles & 50–950 ramp

primary
#CC8EA1
secondary
#D1E4DF
accent
#B18B35
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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