#CC7FBC#CC7FBC

#CC7FBC is a light, vivid pink. Relative luminance 0.316; OKLCH L 69.7% C 0.123 H 334.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CC7FBC
RGBrgb(204, 127, 188)
HSLhsl(312, 43%, 65%)
HSVhsv(312, 38%, 80%)
CMYKcmyk(0%, 37.7%, 7.8%, 20%)
CIE-LABlab(63.05, 38.79, -19.52)
CIE-LCHlch(63.05, 43.42, 333.29°)
OKLaboklab(69.69% 0.1113 -0.0525)
OKLCHoklch(69.69% 0.123 334.8)
XYZxyz(41.5681, 31.6491, 51.4866)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FBC #7FCC8F
analogous
#B67FCC #CC7FBC #CC7F95
triadic
#CC7FBC #BCCC7F #7FBCCC
tetradic
#CC7FBC #CCB67F #7FCC8F #7F95CC
square
#CC7FBC #CCB67F #7FCC8F #7F95CC
split-complementary
#CC7FBC #95CC7F #7FCCB6
monochromatic
#953B83 #BB53A5 #CC7FBC #DDABD3 #EFD7EA

Accessibility & contrast

On white

2.87
#CC7FBC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CC7FBC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FBC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FBC#FFFFFF#000000##000000
##CC7FBC1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BE
Deuteranopia (green-blind)
#939DBA
Tritanopia (blue-blind)
#D38295
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7fbc;
/* rgb */ color: rgb(204, 127, 188);
/* oklch */ color: oklch(69.7% 0.123 334.8);
Tailwind
colors: {
  custom: {
    50: '#dda5d0',
    500: '#cc7fbc',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fbc;
$custom-light: #dda5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fbc",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 312.468,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69694,
    "c": 0.12307,
    "h": 334.8
  },
  "luminance": 0.31647
}

Semantic roles & 50–950 ramp

primary
#CC7FBC
secondary
#C6E1CC
accent
#B64B2F
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC7FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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