#CC7ABD#CC7ABD

#CC7ABD is a light, vivid pink. Relative luminance 0.304; OKLCH L 68.9% C 0.133 H 333.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC7ABD
RGBrgb(204, 122, 189)
HSLhsl(311, 45%, 64%)
HSVhsv(311, 40%, 80%)
CMYKcmyk(0%, 40.2%, 7.4%, 20%)
CIE-LABlab(62.03, 41.62, -21.65)
CIE-LCHlch(62.03, 46.91, 332.52°)
OKLaboklab(68.93% 0.1192 -0.0584)
OKLCHoklch(68.93% 0.133 333.9)
XYZxyz(41.0464, 30.4328, 51.8463)
Luminance0.3043 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ABD #7ACC89
analogous
#B27ACC #CC7ABD #CC7A94
triadic
#CC7ABD #BDCC7A #7ABDCC
tetradic
#CC7ABD #CCB27A #7ACC89 #7A94CC
square
#CC7ABD #CCB27A #7ACC89 #7A94CC
split-complementary
#CC7ABD #94CC7A #7ACCB2
monochromatic
#933883 #BB4EA7 #CC7ABD #DDA6D3 #EED2E9

Accessibility & contrast

On white

2.96
#CC7ABD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CC7ABD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7ABD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7ABD#FFFFFF#000000##000000
##CC7ABD1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798FBF
Deuteranopia (green-blind)
#8F9ABB
Tritanopia (blue-blind)
#D37E93
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7abd;
/* rgb */ color: rgb(204, 122, 189);
/* oklch */ color: oklch(68.9% 0.133 333.9);
Tailwind
colors: {
  custom: {
    50: '#dda2d1',
    500: '#cc7abd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7abd;
$custom-light: #dda2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7abd",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 310.976,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.13274,
    "h": 333.9
  },
  "luminance": 0.30431
}

Semantic roles & 50–950 ramp

primary
#CC7ABD
secondary
#C3DFC8
accent
#B8472E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC7ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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