#CC7FA3#CC7FA3

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

Color values

HEX#CC7FA3
RGBrgb(204, 127, 163)
HSLhsl(332, 43%, 65%)
HSVhsv(332, 38%, 80%)
CMYKcmyk(0%, 37.7%, 20.1%, 20%)
CIE-LABlab(62.22, 34.71, -6.56)
CIE-LCHlch(62.22, 35.32, 349.29°)
OKLaboklab(68.79% 0.1036 -0.017)
OKLCHoklch(68.79% 0.105 350.7)
XYZxyz(39.1027, 30.6629, 38.5022)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FA3 #7FCCA8
analogous
#CC7FCA #CC7FA3 #CC817F
triadic
#CC7FA3 #A3CC7F #7FA3CC
tetradic
#CC7FA3 #CACC7F #7FCCA8 #817FCC
square
#CC7FA3 #CACC7F #7FCCA8 #817FCC
split-complementary
#CC7FA3 #7FCC81 #7FCACC
monochromatic
#953B65 #BB5384 #CC7FA3 #DDABC2 #EFD7E2

Accessibility & contrast

On white

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

On black

7.13
#CC7FA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FA3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FA3#FFFFFF#000000##000000
##CC7FA31.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA4
Deuteranopia (green-blind)
#9A9BA1
Tritanopia (blue-blind)
#D77D8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7fa3;
/* rgb */ color: rgb(204, 127, 163);
/* oklch */ color: oklch(68.8% 0.105 350.7);
Tailwind
colors: {
  custom: {
    50: '#dda5be',
    500: '#cc7fa3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fa3;
$custom-light: #dda5be;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fa3",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 331.948,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68792,
    "c": 0.10499,
    "h": 350.7
  },
  "luminance": 0.3066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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