#CC7AA2#CC7AA2

#CC7AA2 is a light, moderate pink. Relative luminance 0.294; OKLCH L 67.9% C 0.113 H 349.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CC7AA2
RGBrgb(204, 122, 162)
HSLhsl(331, 45%, 64%)
HSVhsv(331, 40%, 80%)
CMYKcmyk(0%, 40.2%, 20.6%, 20%)
CIE-LABlab(61.10, 37.23, -7.65)
CIE-LCHlch(61.10, 38.01, 348.38°)
OKLaboklab(67.93% 0.1112 -0.0199)
OKLCHoklch(67.93% 0.113 349.9)
XYZxyz(38.3836, 29.3676, 37.8223)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7AA2 #7ACCA4
analogous
#CC7ACB #CC7AA2 #CC7B7A
triadic
#CC7AA2 #A2CC7A #7AA2CC
tetradic
#CC7AA2 #CBCC7A #7ACCA4 #7B7ACC
square
#CC7AA2 #CBCC7A #7ACCA4 #7B7ACC
split-complementary
#CC7AA2 #7ACC7B #7ACBCC
monochromatic
#933865 #BB4E83 #CC7AA2 #DDA6C1 #EED2E0

Accessibility & contrast

On white

3.06
#CC7AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CC7AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7AA2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7AA2#FFFFFF#000000##000000
##CC7AA21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#828BA3
Deuteranopia (green-blind)
#9699A0
Tritanopia (blue-blind)
#D77888
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc7aa2;
/* rgb */ color: rgb(204, 122, 162);
/* oklch */ color: oklch(67.9% 0.113 349.9);
Tailwind
colors: {
  custom: {
    50: '#dda2bd',
    500: '#cc7aa2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7aa2;
$custom-light: #dda2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7aa2",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 330.732,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67933,
    "c": 0.11296,
    "h": 349.9
  },
  "luminance": 0.29365
}

Semantic roles & 50–950 ramp

primary
#CC7AA2
secondary
#C3DFD1
accent
#B8742E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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