#CC8EA5#CC8EA5

#CC8EA5 is a light, moderate pink. Relative luminance 0.349; OKLCH L 71.4% C 0.081 H 355.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CC8EA5
RGBrgb(204, 142, 165)
HSLhsl(338, 38%, 68%)
HSVhsv(338, 30%, 80%)
CMYKcmyk(0%, 30.4%, 19.1%, 20%)
CIE-LABlab(65.67, 26.88, -2.60)
CIE-LCHlch(65.67, 27.00, 354.47°)
OKLaboklab(71.45% 0.0804 -0.0065)
OKLCHoklch(71.45% 0.081 355.4)
XYZxyz(41.3668, 34.9022, 40.1479)
Luminance0.3490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EA5 #8ECCB5
analogous
#CC8EC4 #CC8EA5 #CC968E
triadic
#CC8EA5 #A5CC8E #8EA5CC
tetradic
#CC8EA5 #C4CC8E #8ECCB5 #968ECC
square
#CC8EA5 #C4CC8E #8ECCB5 #968ECC
split-complementary
#CC8EA5 #8ECC96 #8EC4CC
monochromatic
#9A4665 #B96483 #CC8EA5 #DFB8C7 #F2E2E8

Accessibility & contrast

On white

2.63
#CC8EA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CC8EA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EA5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EA5#FFFFFF#000000##000000
##CC8EA51.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9599A6
Deuteranopia (green-blind)
#A4A4A4
Tritanopia (blue-blind)
#D68B96
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc8ea5;
/* rgb */ color: rgb(204, 142, 165);
/* oklch */ color: oklch(71.4% 0.081 355.4);
Tailwind
colors: {
  custom: {
    50: '#dcafbf',
    500: '#cc8ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ea5;
$custom-light: #dcafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ea5",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 165
  },
  "hsl": {
    "h": 337.742,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71446,
    "c": 0.08062,
    "h": 355.4
  },
  "luminance": 0.349
}

Semantic roles & 50–950 ramp

primary
#CC8EA5
secondary
#D1E4DD
accent
#B18335
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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