#CC7EA2#CC7EA2

#CC7EA2 is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.6% C 0.106 H 351.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CC7EA2
RGBrgb(204, 126, 162)
HSLhsl(332, 43%, 65%)
HSVhsv(332, 38%, 80%)
CMYKcmyk(0%, 38.2%, 20.6%, 20%)
CIE-LABlab(61.97, 35.09, -6.36)
CIE-LCHlch(61.97, 35.66, 349.72°)
OKLaboklab(68.59% 0.1049 -0.0164)
OKLCHoklch(68.59% 0.106 351.1)
XYZxyz(38.8849, 30.3702, 37.9893)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EA2 #7ECCA8
analogous
#CC7EC9 #CC7EA2 #CC817E
triadic
#CC7EA2 #A2CC7E #7EA2CC
tetradic
#CC7EA2 #C9CC7E #7ECCA8 #817ECC
square
#CC7EA2 #C9CC7E #7ECCA8 #817ECC
split-complementary
#CC7EA2 #7ECC81 #7EC9CC
monochromatic
#953B64 #BB5282 #CC7EA2 #DDAAC2 #EFD6E1

Accessibility & contrast

On white

2.97
#CC7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CC7EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EA2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EA2#FFFFFF#000000##000000
##CC7EA21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#999BA0
Tritanopia (blue-blind)
#D77C8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7ea2;
/* rgb */ color: rgb(204, 126, 162);
/* oklch */ color: oklch(68.6% 0.106 351.1);
Tailwind
colors: {
  custom: {
    50: '#dda4bd',
    500: '#cc7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ea2;
$custom-light: #dda4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ea2",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 332.308,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.10614,
    "h": 351.1
  },
  "luminance": 0.30368
}

Semantic roles & 50–950 ramp

primary
#CC7EA2
secondary
#C6E0D4
accent
#B6782F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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