#CC7AAA#CC7AAA

#CC7AAA is a light, moderate pink. Relative luminance 0.297; OKLCH L 68.2% C 0.118 H 344.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CC7AAA
RGBrgb(204, 122, 170)
HSLhsl(325, 45%, 64%)
HSVhsv(325, 40%, 80%)
CMYKcmyk(0%, 40.2%, 16.7%, 20%)
CIE-LABlab(61.36, 38.47, -11.85)
CIE-LCHlch(61.36, 40.25, 342.88°)
OKLaboklab(68.21% 0.1138 -0.0312)
OKLCHoklch(68.21% 0.118 344.6)
XYZxyz(39.1175, 29.6612, 41.6872)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7AAA #7ACC9C
analogous
#C57ACC #CC7AAA #CC7A81
triadic
#CC7AAA #AACC7A #7AAACC
tetradic
#CC7AAA #CCC57A #7ACC9C #7A81CC
square
#CC7AAA #CCC57A #7ACC9C #7A81CC
split-complementary
#CC7AAA #81CC7A #7ACCC5
monochromatic
#93386E #BB4E8E #CC7AAA #DDA6C6 #EED2E3

Accessibility & contrast

On white

3.03
#CC7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CC7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7AAA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7AAA#FFFFFF#000000##000000
##CC7AAA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#808CAC
Deuteranopia (green-blind)
#9499A8
Tritanopia (blue-blind)
#D67A8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc7aaa;
/* rgb */ color: rgb(204, 122, 170);
/* oklch */ color: oklch(68.2% 0.118 344.6);
Tailwind
colors: {
  custom: {
    50: '#dda2c3',
    500: '#cc7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #cc7aaa;
$custom-light: #dda2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7aaa",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 324.878,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68212,
    "c": 0.11798,
    "h": 344.6
  },
  "luminance": 0.29659
}

Semantic roles & 50–950 ramp

primary
#CC7AAA
secondary
#C3DFCE
accent
#B8672E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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