#CC7DB7#CC7DB7

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

Color values

HEX#CC7DB7
RGBrgb(204, 125, 183)
HSLhsl(316, 44%, 65%)
HSVhsv(316, 39%, 80%)
CMYKcmyk(0%, 38.7%, 10.3%, 20%)
CIE-LABlab(62.44, 39.00, -17.61)
CIE-LCHlch(62.44, 42.79, 335.70°)
OKLaboklab(69.18% 0.113 -0.0471)
OKLCHoklch(69.18% 0.122 337.4)
XYZxyz(40.7827, 30.9257, 48.6117)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DB7 #7DCC92
analogous
#B97DCC #CC7DB7 #CC7D90
triadic
#CC7DB7 #B7CC7D #7DB7CC
tetradic
#CC7DB7 #CCB97D #7DCC92 #7D90CC
square
#CC7DB7 #CCB97D #7DCC92 #7D90CC
split-complementary
#CC7DB7 #90CC7D #7DCCB9
monochromatic
#943A7C #BB519F #CC7DB7 #DDA9CF #EED5E8

Accessibility & contrast

On white

2.92
#CC7DB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7DB7#FFFFFF#000000##000000
##CC7DB71.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F90B9
Deuteranopia (green-blind)
#939BB5
Tritanopia (blue-blind)
#D47F92
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7db7;
/* rgb */ color: rgb(204, 125, 183);
/* oklch */ color: oklch(69.2% 0.122 337.4);
Tailwind
colors: {
  custom: {
    50: '#dda4cc',
    500: '#cc7db7',
    950: '#000000',
  },
}
SCSS
$custom: #cc7db7;
$custom-light: #dda4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7db7",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 315.949,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69177,
    "c": 0.12244,
    "h": 337.4
  },
  "luminance": 0.30923
}

Semantic roles & 50–950 ramp

primary
#CC7DB7
secondary
#C5E0CC
accent
#B7532F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CC7DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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