#CC8EA3#CC8EA3

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

Color values

HEX#CC8EA3
RGBrgb(204, 142, 163)
HSLhsl(340, 38%, 68%)
HSVhsv(340, 30%, 80%)
CMYKcmyk(0%, 30.4%, 20.1%, 20%)
CIE-LABlab(65.62, 26.57, -1.56)
CIE-LCHlch(65.62, 26.61, 356.65°)
OKLaboklab(71.39% 0.0796 -0.0037)
OKLCHoklch(71.39% 0.08 357.3)
XYZxyz(41.1862, 34.8299, 39.1967)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EA3 #8ECCB7
analogous
#CC8EC2 #CC8EA3 #CC988E
triadic
#CC8EA3 #A3CC8E #8EA3CC
tetradic
#CC8EA3 #C2CC8E #8ECCB7 #988ECC
square
#CC8EA3 #C2CC8E #8ECCB7 #988ECC
split-complementary
#CC8EA3 #8ECC98 #8EC2CC
monochromatic
#9A4662 #B96481 #CC8EA3 #DFB8C5 #F2E2E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC8EA3#FFFFFF#000000##000000
##CC8EA31.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc8ea3;
/* rgb */ color: rgb(204, 142, 163);
/* oklch */ color: oklch(71.4% 0.080 357.3);
Tailwind
colors: {
  custom: {
    50: '#dcafbe',
    500: '#cc8ea3',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ea3;
$custom-light: #dcafbe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ea3",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 163
  },
  "hsl": {
    "h": 339.677,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71385,
    "c": 0.07972,
    "h": 357.3
  },
  "luminance": 0.34828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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