#CC7BAB#CC7BAB

#CC7BAB is a light, moderate pink. Relative luminance 0.299; OKLCH L 68.4% C 0.117 H 344.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CC7BAB
RGBrgb(204, 123, 171)
HSLhsl(324, 44%, 64%)
HSVhsv(324, 40%, 80%)
CMYKcmyk(0%, 39.7%, 16.2%, 20%)
CIE-LABlab(61.61, 38.09, -12.05)
CIE-LCHlch(61.61, 39.95, 342.45°)
OKLaboklab(68.41% 0.1125 -0.0318)
OKLCHoklch(68.41% 0.117 344.2)
XYZxyz(39.3359, 29.9460, 42.2285)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BAB #7BCC9C
analogous
#C47BCC #CC7BAB #CC7B83
triadic
#CC7BAB #ABCC7B #7BABCC
tetradic
#CC7BAB #CCC47B #7BCC9C #7B83CC
square
#CC7BAB #CCC47B #7BCC9C #7B83CC
split-complementary
#CC7BAB #83CC7B #7BCCC4
monochromatic
#94396F #BB4F8F #CC7BAB #DDA7C7 #EED3E3

Accessibility & contrast

On white

3.00
#CC7BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CC7BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7BAB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BAB#FFFFFF#000000##000000
##CC7BAB1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#808DAD
Deuteranopia (green-blind)
#959AA9
Tritanopia (blue-blind)
#D67B8C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc7bab;
/* rgb */ color: rgb(204, 123, 171);
/* oklch */ color: oklch(68.4% 0.117 344.2);
Tailwind
colors: {
  custom: {
    50: '#dda3c4',
    500: '#cc7bab',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bab;
$custom-light: #dda3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bab",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 324.444,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68409,
    "c": 0.11693,
    "h": 344.2
  },
  "luminance": 0.29944
}

Semantic roles & 50–950 ramp

primary
#CC7BAB
secondary
#C3E0CF
accent
#B7662E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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