#CC7FA6#CC7FA6

#CC7FA6 is a light, moderate pink. Relative luminance 0.308; OKLCH L 68.9% C 0.107 H 348.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CC7FA6
RGBrgb(204, 127, 166)
HSLhsl(330, 43%, 65%)
HSVhsv(330, 38%, 80%)
CMYKcmyk(0%, 37.7%, 18.6%, 20%)
CIE-LABlab(62.31, 35.17, -8.14)
CIE-LCHlch(62.31, 36.10, 346.97°)
OKLaboklab(68.89% 0.1046 -0.0212)
OKLCHoklch(68.89% 0.107 348.5)
XYZxyz(39.3747, 30.7717, 39.9346)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FA6 #7FCCA5
analogous
#CB7FCC #CC7FA6 #CC7F80
triadic
#CC7FA6 #A6CC7F #7FA6CC
tetradic
#CC7FA6 #CCCB7F #7FCCA5 #7F80CC
square
#CC7FA6 #CCCB7F #7FCCA5 #7F80CC
split-complementary
#CC7FA6 #80CC7F #7FCCCB
monochromatic
#953B69 #BB5388 #CC7FA6 #DDABC4 #EFD7E3

Accessibility & contrast

On white

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

On black

7.15
#CC7FA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FA6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FA6#FFFFFF#000000##000000
##CC7FA61.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#868FA7
Deuteranopia (green-blind)
#999BA4
Tritanopia (blue-blind)
#D67D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7fa6;
/* rgb */ color: rgb(204, 127, 166);
/* oklch */ color: oklch(68.9% 0.107 348.5);
Tailwind
colors: {
  custom: {
    50: '#dda5c0',
    500: '#cc7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fa6;
$custom-light: #dda5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fa6",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 329.61,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68892,
    "c": 0.10675,
    "h": 348.5
  },
  "luminance": 0.30769
}

Semantic roles & 50–950 ramp

primary
#CC7FA6
secondary
#C6E1D3
accent
#B6722F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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