#CC8FA5#CC8FA5

#CC8FA5 is a light, moderate pink. Relative luminance 0.352; OKLCH L 71.6% C 0.079 H 355.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CC8FA5
RGBrgb(204, 143, 165)
HSLhsl(338, 37%, 68%)
HSVhsv(338, 30%, 80%)
CMYKcmyk(0%, 29.9%, 19.1%, 20%)
CIE-LABlab(65.90, 26.33, -2.26)
CIE-LCHlch(65.90, 26.43, 355.09°)
OKLaboklab(71.63% 0.0788 -0.0056)
OKLCHoklch(71.63% 0.079 355.9)
XYZxyz(41.5162, 35.2011, 40.1977)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FA5 #8FCCB6
analogous
#CC8FC3 #CC8FA5 #CC978F
triadic
#CC8FA5 #A5CC8F #8FA5CC
tetradic
#CC8FA5 #C3CC8F #8FCCB6 #978FCC
square
#CC8FA5 #C3CC8F #8FCCB6 #978FCC
split-complementary
#CC8FA5 #8FCC97 #8FC3CC
monochromatic
#9A4665 #B96583 #CC8FA5 #DFB9C7 #F2E3E9

Accessibility & contrast

On white

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

On black

8.04
#CC8FA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FA5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FA5#FFFFFF#000000##000000
##CC8FA51.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#969AA6
Deuteranopia (green-blind)
#A4A4A4
Tritanopia (blue-blind)
#D68C96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc8fa5;
/* rgb */ color: rgb(204, 143, 165);
/* oklch */ color: oklch(71.6% 0.079 355.9);
Tailwind
colors: {
  custom: {
    50: '#dcb0bf',
    500: '#cc8fa5',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fa5;
$custom-light: #dcb0bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fa5",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 165
  },
  "hsl": {
    "h": 338.361,
    "s": 37.423,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71625,
    "c": 0.07896,
    "h": 355.9
  },
  "luminance": 0.35199
}

Semantic roles & 50–950 ramp

primary
#CC8FA5
secondary
#D2E5DE
accent
#B08435
background
#FDFAFB
surface
#FBF5F7
border
#D4CFD0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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