#CC7EA7#CC7EA7

#CC7EA7 is a light, moderate pink. Relative luminance 0.305; OKLCH L 68.8% C 0.109 H 347.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CC7EA7
RGBrgb(204, 126, 167)
HSLhsl(328, 43%, 65%)
HSVhsv(328, 38%, 80%)
CMYKcmyk(0%, 38.2%, 18.1%, 20%)
CIE-LABlab(62.13, 35.86, -8.99)
CIE-LCHlch(62.13, 36.97, 345.93°)
OKLaboklab(68.76% 0.1065 -0.0235)
OKLCHoklch(68.76% 0.109 347.6)
XYZxyz(39.3382, 30.5515, 40.3768)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EA7 #7ECCA3
analogous
#CA7ECC #CC7EA7 #CC7E80
triadic
#CC7EA7 #A7CC7E #7EA7CC
tetradic
#CC7EA7 #CCCA7E #7ECCA3 #7E80CC
square
#CC7EA7 #CCCA7E #7ECCA3 #7E80CC
split-complementary
#CC7EA7 #80CC7E #7ECCCA
monochromatic
#953B6A #BB5289 #CC7EA7 #DDAAC5 #EFD6E3

Accessibility & contrast

On white

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

On black

7.11
#CC7EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EA7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EA7#FFFFFF#000000##000000
##CC7EA71.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc7ea7;
/* rgb */ color: rgb(204, 126, 167);
/* oklch */ color: oklch(68.8% 0.109 347.6);
Tailwind
colors: {
  custom: {
    50: '#dda4c1',
    500: '#cc7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ea7;
$custom-light: #dda4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ea7",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 328.462,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6876,
    "c": 0.10909,
    "h": 347.6
  },
  "luminance": 0.30549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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