#CC7EA8#CC7EA8

#CC7EA8 is a light, moderate pink. Relative luminance 0.306; OKLCH L 68.8% C 0.110 H 346.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CC7EA8
RGBrgb(204, 126, 168)
HSLhsl(328, 43%, 65%)
HSVhsv(328, 38%, 80%)
CMYKcmyk(0%, 38.2%, 17.6%, 20%)
CIE-LABlab(62.16, 36.02, -9.51)
CIE-LCHlch(62.16, 37.25, 345.21°)
OKLaboklab(68.8% 0.1069 -0.0249)
OKLCHoklch(68.8% 0.11 346.9)
XYZxyz(39.4310, 30.5887, 40.8655)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EA8 #7ECCA2
analogous
#C97ECC #CC7EA8 #CC7E81
triadic
#CC7EA8 #A8CC7E #7EA8CC
tetradic
#CC7EA8 #CCC97E #7ECCA2 #7E81CC
square
#CC7EA8 #CCC97E #7ECCA2 #7E81CC
split-complementary
#CC7EA8 #81CC7E #7ECCC9
monochromatic
#953B6B #BB528A #CC7EA8 #DDAAC6 #EFD6E3

Accessibility & contrast

On white

2.95
#CC7EA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CC7EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EA8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EA8#FFFFFF#000000##000000
##CC7EA81.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#848EAA
Deuteranopia (green-blind)
#989BA6
Tritanopia (blue-blind)
#D67D8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7ea8;
/* rgb */ color: rgb(204, 126, 168);
/* oklch */ color: oklch(68.8% 0.110 346.9);
Tailwind
colors: {
  custom: {
    50: '#dda5c1',
    500: '#cc7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ea8;
$custom-light: #dda5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ea8",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 327.692,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68795,
    "c": 0.10972,
    "h": 346.9
  },
  "luminance": 0.30586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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