#CC8CA2#CC8CA2

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

Color values

HEX#CC8CA2
RGBrgb(204, 140, 162)
HSLhsl(339, 39%, 67%)
HSVhsv(339, 31%, 80%)
CMYKcmyk(0%, 31.4%, 20.6%, 20%)
CIE-LABlab(65.12, 27.51, -1.71)
CIE-LCHlch(65.12, 27.56, 356.44°)
OKLaboklab(71% 0.0825 -0.0041)
OKLCHoklch(71% 0.083 357.1)
XYZxyz(40.8020, 34.2044, 38.6284)
Luminance0.3420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CA2 #8CCCB6
analogous
#CC8CC2 #CC8CA2 #CC968C
triadic
#CC8CA2 #A2CC8C #8CA2CC
tetradic
#CC8CA2 #C2CC8C #8CCCB6 #968CCC
square
#CC8CA2 #C2CC8C #8CCCB6 #968CCC
split-complementary
#CC8CA2 #8CCC96 #8CC2CC
monochromatic
#9A4461 #B96280 #CC8CA2 #DFB6C4 #F2E1E7

Accessibility & contrast

On white

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

On black

7.84
#CC8CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CA2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CA2#FFFFFF#000000##000000
##CC8CA21.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9497A3
Deuteranopia (green-blind)
#A3A2A1
Tritanopia (blue-blind)
#D68994
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc8ca2;
/* rgb */ color: rgb(204, 140, 162);
/* oklch */ color: oklch(71.0% 0.083 357.1);
Tailwind
colors: {
  custom: {
    50: '#dcaebd',
    500: '#cc8ca2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ca2;
$custom-light: #dcaebd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ca2",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 339.375,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70998,
    "c": 0.08258,
    "h": 357.1
  },
  "luminance": 0.34202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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