#CC7BA5#CC7BA5

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

Color values

HEX#CC7BA5
RGBrgb(204, 123, 165)
HSLhsl(329, 44%, 64%)
HSVhsv(329, 40%, 80%)
CMYKcmyk(0%, 39.7%, 19.1%, 20%)
CIE-LABlab(61.41, 37.15, -8.91)
CIE-LCHlch(61.41, 38.21, 346.52°)
OKLaboklab(68.2% 0.1106 -0.0233)
OKLCHoklch(68.2% 0.113 348.1)
XYZxyz(38.7769, 29.7224, 39.2846)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BA5 #7BCCA2
analogous
#CB7BCC #CC7BA5 #CC7B7D
triadic
#CC7BA5 #A5CC7B #7BA5CC
tetradic
#CC7BA5 #CCCB7B #7BCCA2 #7B7DCC
square
#CC7BA5 #CCCB7B #7BCCA2 #7B7DCC
split-complementary
#CC7BA5 #7DCC7B #7BCCCB
monochromatic
#943968 #BB4F87 #CC7BA5 #DDA7C3 #EED3E1

Accessibility & contrast

On white

3.02
#CC7BA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CC7BA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7BA5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BA5#FFFFFF#000000##000000
##CC7BA51.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#828CA7
Deuteranopia (green-blind)
#9699A3
Tritanopia (blue-blind)
#D6798A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc7ba5;
/* rgb */ color: rgb(204, 123, 165);
/* oklch */ color: oklch(68.2% 0.113 348.1);
Tailwind
colors: {
  custom: {
    50: '#dda2bf',
    500: '#cc7ba5',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ba5;
$custom-light: #dda2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ba5",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 165
  },
  "hsl": {
    "h": 328.889,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68199,
    "c": 0.11303,
    "h": 348.1
  },
  "luminance": 0.2972
}

Semantic roles & 50–950 ramp

primary
#CC7BA5
secondary
#C3E0D1
accent
#B7702E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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