#CC8EA6#CC8EA6

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

Color values

HEX#CC8EA6
RGBrgb(204, 142, 166)
HSLhsl(337, 38%, 68%)
HSVhsv(337, 30%, 80%)
CMYKcmyk(0%, 30.4%, 18.6%, 20%)
CIE-LABlab(65.70, 27.03, -3.12)
CIE-LCHlch(65.70, 27.21, 353.41°)
OKLaboklab(71.48% 0.0807 -0.0079)
OKLCHoklch(71.48% 0.081 354.4)
XYZxyz(41.4582, 34.9387, 40.6291)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EA6 #8ECCB4
analogous
#CC8EC5 #CC8EA6 #CC958E
triadic
#CC8EA6 #A6CC8E #8EA6CC
tetradic
#CC8EA6 #C5CC8E #8ECCB4 #958ECC
square
#CC8EA6 #C5CC8E #8ECCB4 #958ECC
split-complementary
#CC8EA6 #8ECC95 #8EC5CC
monochromatic
#9A4666 #B96485 #CC8EA6 #DFB8C7 #F2E2E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC8EA6#FFFFFF#000000##000000
##CC8EA61.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)
#9599A7
Deuteranopia (green-blind)
#A3A4A5
Tritanopia (blue-blind)
#D68C96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc8ea6;
/* rgb */ color: rgb(204, 142, 166);
/* oklch */ color: oklch(71.5% 0.081 354.4);
Tailwind
colors: {
  custom: {
    50: '#dcafc0',
    500: '#cc8ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ea6;
$custom-light: #dcafc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ea6",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 166
  },
  "hsl": {
    "h": 336.774,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.0811,
    "h": 354.4
  },
  "luminance": 0.34937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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