#CC7CAB#CC7CAB

#CC7CAB is a light, moderate pink. Relative luminance 0.302; OKLCH L 68.6% C 0.115 H 344.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CC7CAB
RGBrgb(204, 124, 171)
HSLhsl(325, 44%, 64%)
HSVhsv(325, 39%, 80%)
CMYKcmyk(0%, 39.2%, 16.2%, 20%)
CIE-LABlab(61.82, 37.56, -11.72)
CIE-LCHlch(61.82, 39.35, 342.67°)
OKLaboklab(68.57% 0.111 -0.0309)
OKLCHoklch(68.57% 0.115 344.4)
XYZxyz(39.4606, 30.1954, 42.2700)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CAB #7CCC9D
analogous
#C57CCC #CC7CAB #CC7C83
triadic
#CC7CAB #ABCC7C #7CABCC
tetradic
#CC7CAB #CCC57C #7CCC9D #7C83CC
square
#CC7CAB #CCC57C #7CCC9D #7C83CC
split-complementary
#CC7CAB #83CC7C #7CCCC5
monochromatic
#943A6F #BB508F #CC7CAB #DDA8C7 #EED4E3

Accessibility & contrast

On white

2.98
#CC7CAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CC7CAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CAB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CAB#FFFFFF#000000##000000
##CC7CAB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc7cab;
/* rgb */ color: rgb(204, 124, 171);
/* oklch */ color: oklch(68.6% 0.115 344.4);
Tailwind
colors: {
  custom: {
    50: '#dda3c4',
    500: '#cc7cab',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cab;
$custom-light: #dda3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cab",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 171
  },
  "hsl": {
    "h": 324.75,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68572,
    "c": 0.11519,
    "h": 344.4
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#CC7CAB
secondary
#C4E0CF
accent
#B7672E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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