#CC7DB2#CC7DB2

#CC7DB2 is a light, moderate pink. Relative luminance 0.307; OKLCH L 69.0% C 0.118 H 340.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CC7DB2
RGBrgb(204, 125, 178)
HSLhsl(320, 44%, 65%)
HSVhsv(320, 39%, 80%)
CMYKcmyk(0%, 38.7%, 12.7%, 20%)
CIE-LABlab(62.27, 38.16, -15.03)
CIE-LCHlch(62.27, 41.02, 338.50°)
OKLaboklab(68.99% 0.1115 -0.04)
OKLCHoklch(68.99% 0.119 340.3)
XYZxyz(40.2715, 30.7213, 45.9195)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DB2 #7DCC97
analogous
#BF7DCC #CC7DB2 #CC7D8B
triadic
#CC7DB2 #B2CC7D #7DB2CC
tetradic
#CC7DB2 #CCBF7D #7DCC97 #7D8BCC
square
#CC7DB2 #CCBF7D #7DCC97 #7D8BCC
split-complementary
#CC7DB2 #8BCC7D #7DCCBF
monochromatic
#943A77 #BB5198 #CC7DB2 #DDA9CC #EED5E6

Accessibility & contrast

On white

2.94
#CC7DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CC7DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DB2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DB2#FFFFFF#000000##000000
##CC7DB21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB4
Deuteranopia (green-blind)
#949BB0
Tritanopia (blue-blind)
#D57E90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7db2;
/* rgb */ color: rgb(204, 125, 178);
/* oklch */ color: oklch(69.0% 0.118 340.3);
Tailwind
colors: {
  custom: {
    50: '#dda4c9',
    500: '#cc7db2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7db2;
$custom-light: #dda4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7db2",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 319.747,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68989,
    "c": 0.1185,
    "h": 340.3
  },
  "luminance": 0.30719
}

Semantic roles & 50–950 ramp

primary
#CC7DB2
secondary
#C5E0CE
accent
#B75C2F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CC7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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