#CC7FA5#CC7FA5

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

Color values

HEX#CC7FA5
RGBrgb(204, 127, 165)
HSLhsl(330, 43%, 65%)
HSVhsv(330, 38%, 80%)
CMYKcmyk(0%, 37.7%, 19.1%, 20%)
CIE-LABlab(62.28, 35.01, -7.61)
CIE-LCHlch(62.28, 35.83, 347.73°)
OKLaboklab(68.86% 0.1043 -0.0198)
OKLCHoklch(68.86% 0.106 349.2)
XYZxyz(39.2833, 30.7352, 39.4534)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FA5 #7FCCA6
analogous
#CC7FCB #CC7FA5 #CC807F
triadic
#CC7FA5 #A5CC7F #7FA5CC
tetradic
#CC7FA5 #CBCC7F #7FCCA6 #807FCC
square
#CC7FA5 #CBCC7F #7FCCA6 #807FCC
split-complementary
#CC7FA5 #7FCC80 #7FCBCC
monochromatic
#953B68 #BB5386 #CC7FA5 #DDABC4 #EFD7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7FA5#FFFFFF#000000##000000
##CC7FA51.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)
#868FA6
Deuteranopia (green-blind)
#999BA3
Tritanopia (blue-blind)
#D67D8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7fa5;
/* rgb */ color: rgb(204, 127, 165);
/* oklch */ color: oklch(68.9% 0.106 349.2);
Tailwind
colors: {
  custom: {
    50: '#dda5bf',
    500: '#cc7fa5',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fa5;
$custom-light: #dda5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fa5",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 330.39,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68859,
    "c": 0.10614,
    "h": 349.2
  },
  "luminance": 0.30733
}

Semantic roles & 50–950 ramp

primary
#CC7FA5
secondary
#C6E1D4
accent
#B6742F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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