#CC8EA2#CC8EA2

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

Color values

HEX#CC8EA2
RGBrgb(204, 142, 162)
HSLhsl(341, 38%, 68%)
HSVhsv(341, 30%, 80%)
CMYKcmyk(0%, 30.4%, 20.6%, 20%)
CIE-LABlab(65.59, 26.42, -1.03)
CIE-LCHlch(65.59, 26.44, 357.76°)
OKLaboklab(71.35% 0.0793 -0.0024)
OKLCHoklch(71.35% 0.079 358.3)
XYZxyz(41.0969, 34.7942, 38.7267)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EA2 #8ECCB8
analogous
#CC8EC1 #CC8EA2 #CC998E
triadic
#CC8EA2 #A2CC8E #8EA2CC
tetradic
#CC8EA2 #C1CC8E #8ECCB8 #998ECC
square
#CC8EA2 #C1CC8E #8ECCB8 #998ECC
split-complementary
#CC8EA2 #8ECC99 #8EC1CC
monochromatic
#9A4661 #B9647F #CC8EA2 #DFB8C5 #F2E2E7

Accessibility & contrast

On white

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

On black

7.96
#CC8EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EA2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EA2#FFFFFF#000000##000000
##CC8EA21.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc8ea2;
/* rgb */ color: rgb(204, 142, 162);
/* oklch */ color: oklch(71.4% 0.079 358.3);
Tailwind
colors: {
  custom: {
    50: '#dcafbd',
    500: '#cc8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ea2;
$custom-light: #dcafbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ea2",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 340.645,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71354,
    "c": 0.07931,
    "h": 358.3
  },
  "luminance": 0.34792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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