#CC7FA4#CC7FA4

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

Color values

HEX#CC7FA4
RGBrgb(204, 127, 164)
HSLhsl(331, 43%, 65%)
HSVhsv(331, 38%, 80%)
CMYKcmyk(0%, 37.7%, 19.6%, 20%)
CIE-LABlab(62.25, 34.86, -7.09)
CIE-LCHlch(62.25, 35.57, 348.51°)
OKLaboklab(68.83% 0.104 -0.0184)
OKLCHoklch(68.83% 0.106 350)
XYZxyz(39.1926, 30.6989, 38.9759)
Luminance0.3070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FA4 #7FCCA7
analogous
#CC7FCB #CC7FA4 #CC817F
triadic
#CC7FA4 #A4CC7F #7FA4CC
tetradic
#CC7FA4 #CBCC7F #7FCCA7 #817FCC
square
#CC7FA4 #CBCC7F #7FCCA7 #817FCC
split-complementary
#CC7FA4 #7FCC81 #7FCBCC
monochromatic
#953B67 #BB5385 #CC7FA4 #DDABC3 #EFD7E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7FA4#FFFFFF#000000##000000
##CC7FA41.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)
#868FA5
Deuteranopia (green-blind)
#999BA2
Tritanopia (blue-blind)
#D67D8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7fa4;
/* rgb */ color: rgb(204, 127, 164);
/* oklch */ color: oklch(68.8% 0.106 350.0);
Tailwind
colors: {
  custom: {
    50: '#dda5bf',
    500: '#cc7fa4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fa4;
$custom-light: #dda5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fa4",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 331.169,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.10556,
    "h": 350
  },
  "luminance": 0.30696
}

Semantic roles & 50–950 ramp

primary
#CC7FA4
secondary
#C6E1D4
accent
#B6752F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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