#CC7BB2#CC7BB2

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

Color values

HEX#CC7BB2
RGBrgb(204, 123, 178)
HSLhsl(319, 44%, 64%)
HSVhsv(319, 40%, 80%)
CMYKcmyk(0%, 39.7%, 12.7%, 20%)
CIE-LABlab(61.84, 39.23, -15.68)
CIE-LCHlch(61.84, 42.24, 338.21°)
OKLaboklab(68.66% 0.1146 -0.0418)
OKLCHoklch(68.66% 0.122 340)
XYZxyz(40.0208, 30.2200, 45.8359)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BB2 #7BCC95
analogous
#BE7BCC #CC7BB2 #CC7B8A
triadic
#CC7BB2 #B2CC7B #7BB2CC
tetradic
#CC7BB2 #CCBE7B #7BCC95 #7B8ACC
square
#CC7BB2 #CCBE7B #7BCC95 #7B8ACC
split-complementary
#CC7BB2 #8ACC7B #7BCCBE
monochromatic
#943977 #BB4F98 #CC7BB2 #DDA7CC #EED3E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7BB2#FFFFFF#000000##000000
##CC7BB21.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)
#7E8EB4
Deuteranopia (green-blind)
#939AB0
Tritanopia (blue-blind)
#D57C8F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc7bb2;
/* rgb */ color: rgb(204, 123, 178);
/* oklch */ color: oklch(68.7% 0.122 340.0);
Tailwind
colors: {
  custom: {
    50: '#dda3c9',
    500: '#cc7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bb2;
$custom-light: #dda3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bb2",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 319.259,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68665,
    "c": 0.12202,
    "h": 340
  },
  "luminance": 0.30218
}

Semantic roles & 50–950 ramp

primary
#CC7BB2
secondary
#C3E0CC
accent
#B75A2E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CC7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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