#CC7ABE#CC7ABE

#CC7ABE is a light, vivid pink. Relative luminance 0.305; OKLCH L 69.0% C 0.134 H 333.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC7ABE
RGBrgb(204, 122, 190)
HSLhsl(310, 45%, 64%)
HSVhsv(310, 40%, 80%)
CMYKcmyk(0%, 40.2%, 6.9%, 20%)
CIE-LABlab(62.06, 41.79, -22.16)
CIE-LCHlch(62.06, 47.30, 332.06°)
OKLaboklab(68.97% 0.1195 -0.0598)
OKLCHoklch(68.97% 0.134 333.4)
XYZxyz(41.1554, 30.4763, 52.4200)
Luminance0.3047 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ABE #7ACC88
analogous
#B17ACC #CC7ABE #CC7A95
triadic
#CC7ABE #BECC7A #7ABECC
tetradic
#CC7ABE #CCB17A #7ACC88 #7A95CC
square
#CC7ABE #CCB17A #7ACC88 #7A95CC
split-complementary
#CC7ABE #95CC7A #7ACCB1
monochromatic
#933884 #BB4EA8 #CC7ABE #DDA6D4 #EED2E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7ABE#FFFFFF#000000##000000
##CC7ABE1.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)
#798FC0
Deuteranopia (green-blind)
#8E9ABC
Tritanopia (blue-blind)
#D37E93
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7abe;
/* rgb */ color: rgb(204, 122, 190);
/* oklch */ color: oklch(69.0% 0.134 333.4);
Tailwind
colors: {
  custom: {
    50: '#dda2d1',
    500: '#cc7abe',
    950: '#000000',
  },
}
SCSS
$custom: #cc7abe;
$custom-light: #dda2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7abe",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 310.244,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68973,
    "c": 0.13361,
    "h": 333.4
  },
  "luminance": 0.30474
}

Semantic roles & 50–950 ramp

primary
#CC7ABE
secondary
#C3DFC7
accent
#B8452E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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