#CC7FAC#CC7FAC

#CC7FAC is a light, moderate pink. Relative luminance 0.310; OKLCH L 69.1% C 0.111 H 344.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CC7FAC
RGBrgb(204, 127, 172)
HSLhsl(325, 43%, 65%)
HSVhsv(325, 38%, 80%)
CMYKcmyk(0%, 37.7%, 15.7%, 20%)
CIE-LABlab(62.51, 36.12, -11.27)
CIE-LCHlch(62.51, 37.83, 342.67°)
OKLaboklab(69.1% 0.1066 -0.0297)
OKLCHoklch(69.1% 0.111 344.4)
XYZxyz(39.9379, 30.9970, 42.9011)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FAC #7FCC9F
analogous
#C67FCC #CC7FAC #CC7F86
triadic
#CC7FAC #ACCC7F #7FACCC
tetradic
#CC7FAC #CCC67F #7FCC9F #7F86CC
square
#CC7FAC #CCC67F #7FCC9F #7F86CC
split-complementary
#CC7FAC #86CC7F #7FCCC6
monochromatic
#953B70 #BB5390 #CC7FAC #DDABC8 #EFD7E5

Accessibility & contrast

On white

2.92
#CC7FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CC7FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FAC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FAC#FFFFFF#000000##000000
##CC7FAC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8490AE
Deuteranopia (green-blind)
#979CAA
Tritanopia (blue-blind)
#D57F8F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7fac;
/* rgb */ color: rgb(204, 127, 172);
/* oklch */ color: oklch(69.1% 0.111 344.4);
Tailwind
colors: {
  custom: {
    50: '#dda5c4',
    500: '#cc7fac',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fac;
$custom-light: #dda5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fac",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 324.935,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.691,
    "c": 0.11064,
    "h": 344.4
  },
  "luminance": 0.30995
}

Semantic roles & 50–950 ramp

primary
#CC7FAC
secondary
#C6E1D1
accent
#B6672F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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