#CC7FA8#CC7FA8

#CC7FA8 is a light, moderate pink. Relative luminance 0.308; OKLCH L 69.0% C 0.108 H 347.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CC7FA8
RGBrgb(204, 127, 168)
HSLhsl(328, 43%, 65%)
HSVhsv(328, 38%, 80%)
CMYKcmyk(0%, 37.7%, 17.6%, 20%)
CIE-LABlab(62.38, 35.48, -9.18)
CIE-LCHlch(62.38, 36.65, 345.49°)
OKLaboklab(68.96% 0.1053 -0.024)
OKLCHoklch(68.96% 0.108 347.1)
XYZxyz(39.5595, 30.8457, 40.9083)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FA8 #7FCCA3
analogous
#CA7FCC #CC7FA8 #CC7F81
triadic
#CC7FA8 #A8CC7F #7FA8CC
tetradic
#CC7FA8 #CCCA7F #7FCCA3 #7F81CC
square
#CC7FA8 #CCCA7F #7FCCA3 #7F81CC
split-complementary
#CC7FA8 #81CC7F #7FCCCA
monochromatic
#953B6B #BB538A #CC7FA8 #DDABC6 #EFD7E3

Accessibility & contrast

On white

2.93
#CC7FA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CC7FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FA8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FA8#FFFFFF#000000##000000
##CC7FA81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FAA
Deuteranopia (green-blind)
#989CA6
Tritanopia (blue-blind)
#D67E8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7fa8;
/* rgb */ color: rgb(204, 127, 168);
/* oklch */ color: oklch(69.0% 0.108 347.1);
Tailwind
colors: {
  custom: {
    50: '#dda5c1',
    500: '#cc7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fa8;
$custom-light: #dda5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fa8",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 328.052,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68961,
    "c": 0.10799,
    "h": 347.1
  },
  "luminance": 0.30843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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