#CC7EA6#CC7EA6

#CC7EA6 is a light, moderate pink. Relative luminance 0.305; OKLCH L 68.7% C 0.108 H 348.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CC7EA6
RGBrgb(204, 126, 166)
HSLhsl(329, 43%, 65%)
HSVhsv(329, 38%, 80%)
CMYKcmyk(0%, 38.2%, 18.6%, 20%)
CIE-LABlab(62.10, 35.71, -8.46)
CIE-LCHlch(62.10, 36.70, 346.67°)
OKLaboklab(68.73% 0.1062 -0.0221)
OKLCHoklch(68.73% 0.108 348.2)
XYZxyz(39.2462, 30.5147, 39.8918)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EA6 #7ECCA4
analogous
#CB7ECC #CC7EA6 #CC7E7F
triadic
#CC7EA6 #A6CC7E #7EA6CC
tetradic
#CC7EA6 #CCCB7E #7ECCA4 #7E7FCC
square
#CC7EA6 #CCCB7E #7ECCA4 #7E7FCC
split-complementary
#CC7EA6 #7FCC7E #7ECCCB
monochromatic
#953B69 #BB5288 #CC7EA6 #DDAAC4 #EFD6E3

Accessibility & contrast

On white

2.96
#CC7EA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CC7EA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EA6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EA6#FFFFFF#000000##000000
##CC7EA61.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA7
Deuteranopia (green-blind)
#989BA4
Tritanopia (blue-blind)
#D67C8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7ea6;
/* rgb */ color: rgb(204, 126, 166);
/* oklch */ color: oklch(68.7% 0.108 348.2);
Tailwind
colors: {
  custom: {
    50: '#dda4c0',
    500: '#cc7ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ea6;
$custom-light: #dda4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ea6",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 329.231,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68726,
    "c": 0.10847,
    "h": 348.2
  },
  "luminance": 0.30512
}

Semantic roles & 50–950 ramp

primary
#CC7EA6
secondary
#C6E0D3
accent
#B6712F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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