#CC8ABE#CC8ABE

#CC8ABE is a light, moderate pink. Relative luminance 0.347; OKLCH L 71.6% C 0.105 H 334.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CC8ABE
RGBrgb(204, 138, 190)
HSLhsl(313, 39%, 67%)
HSVhsv(313, 32%, 80%)
CMYKcmyk(0%, 32.4%, 6.9%, 20%)
CIE-LABlab(65.54, 33.21, -16.87)
CIE-LCHlch(65.54, 37.25, 333.08°)
OKLaboklab(71.6% 0.095 -0.0452)
OKLCHoklch(71.6% 0.105 334.5)
XYZxyz(43.2842, 34.7339, 53.1296)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8ABE #8ACC98
analogous
#B98ACC #CC8ABE #CC8A9D
triadic
#CC8ABE #BECC8A #8ABECC
tetradic
#CC8ABE #CCB98A #8ACC98 #8A9DCC
square
#CC8ABE #CCB98A #8ACC98 #8A9DCC
split-complementary
#CC8ABE #9DCC8A #8ACCB9
monochromatic
#994387 #B95FA6 #CC8ABE #DFB5D6 #F1DFED

Accessibility & contrast

On white

2.64
#CC8ABE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CC8ABE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8ABE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8ABE#FFFFFF#000000##000000
##CC8ABE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A99C0
Deuteranopia (green-blind)
#9AA3BC
Tritanopia (blue-blind)
#D28D9D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc8abe;
/* rgb */ color: rgb(204, 138, 190);
/* oklch */ color: oklch(71.6% 0.105 334.5);
Tailwind
colors: {
  custom: {
    50: '#dcadd1',
    500: '#cc8abe',
    950: '#000000',
  },
}
SCSS
$custom: #cc8abe;
$custom-light: #dcadd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8abe",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 190
  },
  "hsl": {
    "h": 312.727,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71604,
    "c": 0.10518,
    "h": 334.5
  },
  "luminance": 0.34732
}

Semantic roles & 50–950 ramp

primary
#CC8ABE
secondary
#CEE3D3
accent
#B24E33
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CC8ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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