#CC8CA5#CC8CA5

#CC8CA5 is a light, moderate pink. Relative luminance 0.343; OKLCH L 71.1% C 0.084 H 354.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CC8CA5
RGBrgb(204, 140, 165)
HSLhsl(337, 39%, 67%)
HSVhsv(337, 31%, 80%)
CMYKcmyk(0%, 31.4%, 19.1%, 20%)
CIE-LABlab(65.21, 27.97, -3.28)
CIE-LCHlch(65.21, 28.16, 353.31°)
OKLaboklab(71.09% 0.0836 -0.0083)
OKLCHoklch(71.09% 0.084 354.3)
XYZxyz(41.0719, 34.3124, 40.0496)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CA5 #8CCCB3
analogous
#CC8CC5 #CC8CA5 #CC938C
triadic
#CC8CA5 #A5CC8C #8CA5CC
tetradic
#CC8CA5 #C5CC8C #8CCCB3 #938CCC
square
#CC8CA5 #C5CC8C #8CCCB3 #938CCC
split-complementary
#CC8CA5 #8CCC93 #8CC5CC
monochromatic
#9A4465 #B96284 #CC8CA5 #DFB6C6 #F2E1E7

Accessibility & contrast

On white

2.67
#CC8CA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#CC8CA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CA5
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CA5#FFFFFF#000000##000000
##CC8CA51.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9398A6
Deuteranopia (green-blind)
#A2A2A3
Tritanopia (blue-blind)
#D68A95
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc8ca5;
/* rgb */ color: rgb(204, 140, 165);
/* oklch */ color: oklch(71.1% 0.084 354.3);
Tailwind
colors: {
  custom: {
    50: '#dcaebf',
    500: '#cc8ca5',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ca5;
$custom-light: #dcaebf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ca5",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 165
  },
  "hsl": {
    "h": 336.563,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71092,
    "c": 0.08397,
    "h": 354.3
  },
  "luminance": 0.3431
}

Semantic roles & 50–950 ramp

primary
#CC8CA5
secondary
#D0E4DC
accent
#B28034
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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