#CC7CBC#CC7CBC

#CC7CBC is a light, vivid pink. Relative luminance 0.309; OKLCH L 69.2% C 0.128 H 334.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CC7CBC
RGBrgb(204, 124, 188)
HSLhsl(312, 44%, 64%)
HSVhsv(312, 39%, 80%)
CMYKcmyk(0%, 39.2%, 7.8%, 20%)
CIE-LABlab(62.41, 40.38, -20.49)
CIE-LCHlch(62.41, 45.29, 333.09°)
OKLaboklab(69.21% 0.1159 -0.0552)
OKLCHoklch(69.21% 0.128 334.6)
XYZxyz(41.1864, 30.8857, 51.3593)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CBC #7CCC8C
analogous
#B47CCC #CC7CBC #CC7C94
triadic
#CC7CBC #BCCC7C #7CBCCC
tetradic
#CC7CBC #CCB47C #7CCC8C #7C94CC
square
#CC7CBC #CCB47C #7CCC8C #7C94CC
split-complementary
#CC7CBC #94CC7C #7CCCB4
monochromatic
#943A82 #BB50A5 #CC7CBC #DDA8D3 #EED4E9

Accessibility & contrast

On white

2.93
#CC7CBC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CC7CBC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CBC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CBC#FFFFFF#000000##000000
##CC7CBC1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C90BE
Deuteranopia (green-blind)
#909BBA
Tritanopia (blue-blind)
#D38094
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7cbc;
/* rgb */ color: rgb(204, 124, 188);
/* oklch */ color: oklch(69.2% 0.128 334.6);
Tailwind
colors: {
  custom: {
    50: '#dda3d0',
    500: '#cc7cbc',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cbc;
$custom-light: #dda3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cbc",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 188
  },
  "hsl": {
    "h": 312,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69211,
    "c": 0.12837,
    "h": 334.6
  },
  "luminance": 0.30884
}

Semantic roles & 50–950 ramp

primary
#CC7CBC
secondary
#C4E0CA
accent
#B74A2E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC7CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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