#CC8CA3#CC8CA3

#CC8CA3 is a light, moderate pink. Relative luminance 0.342; OKLCH L 71.0% C 0.083 H 356.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CC8CA3
RGBrgb(204, 140, 163)
HSLhsl(338, 39%, 67%)
HSVhsv(338, 31%, 80%)
CMYKcmyk(0%, 31.4%, 20.1%, 20%)
CIE-LABlab(65.15, 27.66, -2.24)
CIE-LCHlch(65.15, 27.75, 355.38°)
OKLaboklab(71.03% 0.0828 -0.0055)
OKLCHoklch(71.03% 0.083 356.2)
XYZxyz(40.8913, 34.2401, 39.0984)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CA3 #8CCCB5
analogous
#CC8CC3 #CC8CA3 #CC958C
triadic
#CC8CA3 #A3CC8C #8CA3CC
tetradic
#CC8CA3 #C3CC8C #8CCCB5 #958CCC
square
#CC8CA3 #C3CC8C #8CCCB5 #958CCC
split-complementary
#CC8CA3 #8CCC95 #8CC3CC
monochromatic
#9A4463 #B96281 #CC8CA3 #DFB6C5 #F2E1E7

Accessibility & contrast

On white

2.68
#CC8CA3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CC8CA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CA3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CA3#FFFFFF#000000##000000
##CC8CA31.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A4
Deuteranopia (green-blind)
#A3A2A2
Tritanopia (blue-blind)
#D68994
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc8ca3;
/* rgb */ color: rgb(204, 140, 163);
/* oklch */ color: oklch(71.0% 0.083 356.2);
Tailwind
colors: {
  custom: {
    50: '#dcaebe',
    500: '#cc8ca3',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ca3;
$custom-light: #dcaebe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ca3",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 163
  },
  "hsl": {
    "h": 338.438,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71029,
    "c": 0.08302,
    "h": 356.2
  },
  "luminance": 0.34238
}

Semantic roles & 50–950 ramp

primary
#CC8CA3
secondary
#D0E4DD
accent
#B28434
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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