#CC8EA7#CC8EA7

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

Color values

HEX#CC8EA7
RGBrgb(204, 142, 167)
HSLhsl(336, 38%, 68%)
HSVhsv(336, 30%, 80%)
CMYKcmyk(0%, 30.4%, 18.1%, 20%)
CIE-LABlab(65.73, 27.19, -3.64)
CIE-LCHlch(65.73, 27.43, 352.37°)
OKLaboklab(71.51% 0.0811 -0.0093)
OKLCHoklch(71.51% 0.082 353.5)
XYZxyz(41.5502, 34.9755, 41.1141)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EA7 #8ECCB3
analogous
#CC8EC6 #CC8EA7 #CC948E
triadic
#CC8EA7 #A7CC8E #8EA7CC
tetradic
#CC8EA7 #C6CC8E #8ECCB3 #948ECC
square
#CC8EA7 #C6CC8E #8ECCB3 #948ECC
split-complementary
#CC8EA7 #8ECC94 #8EC6CC
monochromatic
#9A4668 #B96486 #CC8EA7 #DFB8C8 #F2E2E9

Accessibility & contrast

On white

2.63
#CC8EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#CC8EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EA7
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EA7#FFFFFF#000000##000000
##CC8EA71.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc8ea7;
/* rgb */ color: rgb(204, 142, 167);
/* oklch */ color: oklch(71.5% 0.082 353.5);
Tailwind
colors: {
  custom: {
    50: '#dcafc1',
    500: '#cc8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ea7;
$custom-light: #dcafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ea7",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 335.806,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71509,
    "c": 0.08161,
    "h": 353.5
  },
  "luminance": 0.34973
}

Semantic roles & 50–950 ramp

primary
#CC8EA7
secondary
#D1E4DD
accent
#B17F35
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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