#CC8EA4#CC8EA4

#CC8EA4 is a light, moderate pink. Relative luminance 0.349; OKLCH L 71.4% C 0.080 H 356.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CC8EA4
RGBrgb(204, 142, 164)
HSLhsl(339, 38%, 68%)
HSVhsv(339, 30%, 80%)
CMYKcmyk(0%, 30.4%, 19.6%, 20%)
CIE-LABlab(65.64, 26.72, -2.08)
CIE-LCHlch(65.64, 26.80, 355.55°)
OKLaboklab(71.41% 0.08 -0.0051)
OKLCHoklch(71.41% 0.08 356.3)
XYZxyz(41.2761, 34.8659, 39.6704)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EA4 #8ECCB6
analogous
#CC8EC3 #CC8EA4 #CC978E
triadic
#CC8EA4 #A4CC8E #8EA4CC
tetradic
#CC8EA4 #C3CC8E #8ECCB6 #978ECC
square
#CC8EA4 #C3CC8E #8ECCB6 #978ECC
split-complementary
#CC8EA4 #8ECC97 #8EC3CC
monochromatic
#9A4664 #B96482 #CC8EA4 #DFB8C6 #F2E2E8

Accessibility & contrast

On white

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

On black

7.97
#CC8EA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EA4
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EA4#FFFFFF#000000##000000
##CC8EA41.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9599A5
Deuteranopia (green-blind)
#A4A3A3
Tritanopia (blue-blind)
#D68B95
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc8ea4;
/* rgb */ color: rgb(204, 142, 164);
/* oklch */ color: oklch(71.4% 0.080 356.3);
Tailwind
colors: {
  custom: {
    50: '#dcafbe',
    500: '#cc8ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ea4;
$custom-light: #dcafbe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ea4",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 338.71,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71415,
    "c": 0.08016,
    "h": 356.3
  },
  "luminance": 0.34864
}

Semantic roles & 50–950 ramp

primary
#CC8EA4
secondary
#D1E4DE
accent
#B18535
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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