#CC7EA4#CC7EA4

#CC7EA4 is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.7% C 0.107 H 349.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC7EA4
RGBrgb(204, 126, 164)
HSLhsl(331, 43%, 65%)
HSVhsv(331, 38%, 80%)
CMYKcmyk(0%, 38.2%, 19.6%, 20%)
CIE-LABlab(62.03, 35.40, -7.41)
CIE-LCHlch(62.03, 36.17, 348.17°)
OKLaboklab(68.66% 0.1055 -0.0193)
OKLCHoklch(68.66% 0.107 349.7)
XYZxyz(39.0641, 30.4419, 38.9331)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EA4 #7ECCA6
analogous
#CC7ECB #CC7EA4 #CC7F7E
triadic
#CC7EA4 #A4CC7E #7EA4CC
tetradic
#CC7EA4 #CBCC7E #7ECCA6 #7F7ECC
square
#CC7EA4 #CBCC7E #7ECCA6 #7F7ECC
split-complementary
#CC7EA4 #7ECC7F #7ECBCC
monochromatic
#953B67 #BB5285 #CC7EA4 #DDAAC3 #EFD6E2

Accessibility & contrast

On white

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

On black

7.09
#CC7EA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EA4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EA4#FFFFFF#000000##000000
##CC7EA41.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA5
Deuteranopia (green-blind)
#999BA2
Tritanopia (blue-blind)
#D67C8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7ea4;
/* rgb */ color: rgb(204, 126, 164);
/* oklch */ color: oklch(68.7% 0.107 349.7);
Tailwind
colors: {
  custom: {
    50: '#dda4bf',
    500: '#cc7ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ea4;
$custom-light: #dda4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ea4",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 330.769,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68659,
    "c": 0.10728,
    "h": 349.7
  },
  "luminance": 0.30439
}

Semantic roles & 50–950 ramp

primary
#CC7EA4
secondary
#C6E0D3
accent
#B6742F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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