#CC8A9D#CC8A9D

#CC8A9D is a light, moderate pink. Relative luminance 0.334; OKLCH L 70.5% C 0.084 H 0.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CC8A9D
RGBrgb(204, 138, 157)
HSLhsl(343, 39%, 67%)
HSVhsv(343, 32%, 80%)
CMYKcmyk(0%, 32.4%, 23%, 20%)
CIE-LABlab(64.52, 27.85, 0.24)
CIE-LCHlch(64.52, 27.85, 0.48°)
OKLaboklab(70.49% 0.0839 0.001)
OKLCHoklch(70.49% 0.084 0.7)
XYZxyz(40.0768, 33.4510, 36.2375)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8A9D #8ACCB9
analogous
#CC8ABE #CC8A9D #CC988A
triadic
#CC8A9D #9DCC8A #8A9DCC
tetradic
#CC8A9D #BECC8A #8ACCB9 #988ACC
square
#CC8A9D #BECC8A #8ACCB9 #988ACC
split-complementary
#CC8A9D #8ACC98 #8ABECC
monochromatic
#99435C #B95F79 #CC8A9D #DFB5C1 #F1DFE4

Accessibility & contrast

On white

2.73
#CC8A9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CC8A9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8A9D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8A9D#FFFFFF#000000##000000
##CC8A9D1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93959E
Deuteranopia (green-blind)
#A2A19C
Tritanopia (blue-blind)
#D78691
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc8a9d;
/* rgb */ color: rgb(204, 138, 157);
/* oklch */ color: oklch(70.5% 0.084 0.7);
Tailwind
colors: {
  custom: {
    50: '#ddadb9',
    500: '#cc8a9d',
    950: '#000000',
  },
}
SCSS
$custom: #cc8a9d;
$custom-light: #ddadb9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8a9d",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 157
  },
  "hsl": {
    "h": 342.727,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70492,
    "c": 0.08387,
    "h": 0.7
  },
  "luminance": 0.33449
}

Semantic roles & 50–950 ramp

primary
#CC8A9D
secondary
#CEE3DD
accent
#B28E33
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151011
muted
#837F80

Preview Lab

Preview with #CC8A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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