#CC7BA2#CC7BA2

#CC7BA2 is a light, moderate pink. Relative luminance 0.296; OKLCH L 68.1% C 0.111 H 350.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CC7BA2
RGBrgb(204, 123, 162)
HSLhsl(331, 44%, 64%)
HSVhsv(331, 40%, 80%)
CMYKcmyk(0%, 39.7%, 20.6%, 20%)
CIE-LABlab(61.32, 36.70, -7.33)
CIE-LCHlch(61.32, 37.42, 348.70°)
OKLaboklab(68.1% 0.1096 -0.019)
OKLCHoklch(68.1% 0.111 350.2)
XYZxyz(38.5071, 29.6145, 37.8634)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BA2 #7BCCA5
analogous
#CC7BCB #CC7BA2 #CC7D7B
triadic
#CC7BA2 #A2CC7B #7BA2CC
tetradic
#CC7BA2 #CBCC7B #7BCCA5 #7D7BCC
square
#CC7BA2 #CBCC7B #7BCCA5 #7D7BCC
split-complementary
#CC7BA2 #7BCC7D #7BCBCC
monochromatic
#943965 #BB4F83 #CC7BA2 #DDA7C1 #EED3E0

Accessibility & contrast

On white

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

On black

6.92
#CC7BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7BA2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BA2#FFFFFF#000000##000000
##CC7BA21.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA3
Deuteranopia (green-blind)
#9799A0
Tritanopia (blue-blind)
#D77989
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc7ba2;
/* rgb */ color: rgb(204, 123, 162);
/* oklch */ color: oklch(68.1% 0.111 350.2);
Tailwind
colors: {
  custom: {
    50: '#dda2bd',
    500: '#cc7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ba2;
$custom-light: #dda2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ba2",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 331.111,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68097,
    "c": 0.11126,
    "h": 350.2
  },
  "luminance": 0.29612
}

Semantic roles & 50–950 ramp

primary
#CC7BA2
secondary
#C3E0D2
accent
#B7752E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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