#CC8FA7#CC8FA7

#CC8FA7 is a light, moderate pink. Relative luminance 0.353; OKLCH L 71.7% C 0.080 H 354.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CC8FA7
RGBrgb(204, 143, 167)
HSLhsl(336, 37%, 68%)
HSVhsv(336, 30%, 80%)
CMYKcmyk(0%, 29.9%, 18.1%, 20%)
CIE-LABlab(65.96, 26.64, -3.30)
CIE-LCHlch(65.96, 26.85, 352.93°)
OKLaboklab(71.69% 0.0795 -0.0084)
OKLCHoklch(71.69% 0.08 354)
XYZxyz(41.6997, 35.2744, 41.1639)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FA7 #8FCCB4
analogous
#CC8FC5 #CC8FA7 #CC958F
triadic
#CC8FA7 #A7CC8F #8FA7CC
tetradic
#CC8FA7 #C5CC8F #8FCCB4 #958FCC
square
#CC8FA7 #C5CC8F #8FCCB4 #958FCC
split-complementary
#CC8FA7 #8FCC95 #8FC5CC
monochromatic
#9A4667 #B96586 #CC8FA7 #DFB9C8 #F2E3E9

Accessibility & contrast

On white

2.61
#CC8FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#CC8FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FA7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FA7#FFFFFF#000000##000000
##CC8FA71.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#959AA8
Deuteranopia (green-blind)
#A4A4A6
Tritanopia (blue-blind)
#D58D97
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc8fa7;
/* rgb */ color: rgb(204, 143, 167);
/* oklch */ color: oklch(71.7% 0.080 354.0);
Tailwind
colors: {
  custom: {
    50: '#dcb0c1',
    500: '#cc8fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fa7;
$custom-light: #dcb0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fa7",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 336.393,
    "s": 37.423,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71687,
    "c": 0.07992,
    "h": 354
  },
  "luminance": 0.35272
}

Semantic roles & 50–950 ramp

primary
#CC8FA7
secondary
#D2E5DD
accent
#B08035
background
#FDFAFB
surface
#FBF5F7
border
#D4CFD0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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