#CC7BB1#CC7BB1

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

Color values

HEX#CC7BB1
RGBrgb(204, 123, 177)
HSLhsl(320, 44%, 64%)
HSVhsv(320, 40%, 80%)
CMYKcmyk(0%, 39.7%, 13.2%, 20%)
CIE-LABlab(61.81, 39.06, -15.16)
CIE-LCHlch(61.81, 41.90, 338.79°)
OKLaboklab(68.63% 0.1143 -0.0404)
OKLCHoklch(68.63% 0.121 340.6)
XYZxyz(39.9208, 30.1800, 45.3091)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BB1 #7BCC96
analogous
#BF7BCC #CC7BB1 #CC7B89
triadic
#CC7BB1 #B1CC7B #7BB1CC
tetradic
#CC7BB1 #CCBF7B #7BCC96 #7B89CC
square
#CC7BB1 #CCBF7B #7BCC96 #7B89CC
split-complementary
#CC7BB1 #89CC7B #7BCCBF
monochromatic
#943975 #BB4F97 #CC7BB1 #DDA7CB #EED3E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7BB1#FFFFFF#000000##000000
##CC7BB11.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)
#7E8EB3
Deuteranopia (green-blind)
#939AAF
Tritanopia (blue-blind)
#D57C8F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc7bb1;
/* rgb */ color: rgb(204, 123, 177);
/* oklch */ color: oklch(68.6% 0.121 340.6);
Tailwind
colors: {
  custom: {
    50: '#dda3c8',
    500: '#cc7bb1',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bb1;
$custom-light: #dda3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bb1",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 177
  },
  "hsl": {
    "h": 320,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68628,
    "c": 0.12125,
    "h": 340.6
  },
  "luminance": 0.30178
}

Semantic roles & 50–950 ramp

primary
#CC7BB1
secondary
#C3E0CD
accent
#B75C2E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CC7BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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