#CC7EAA#CC7EAA

#CC7EAA is a light, moderate pink. Relative luminance 0.307; OKLCH L 68.9% C 0.111 H 345.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CC7EAA
RGBrgb(204, 126, 170)
HSLhsl(326, 43%, 65%)
HSVhsv(326, 38%, 80%)
CMYKcmyk(0%, 38.2%, 16.7%, 20%)
CIE-LABlab(62.22, 36.33, -10.55)
CIE-LCHlch(62.22, 37.83, 343.80°)
OKLaboklab(68.86% 0.1075 -0.0278)
OKLCHoklch(68.86% 0.111 345.5)
XYZxyz(39.6188, 30.6638, 41.8543)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EAA #7ECCA0
analogous
#C77ECC #CC7EAA #CC7E83
triadic
#CC7EAA #AACC7E #7EAACC
tetradic
#CC7EAA #CCC77E #7ECCA0 #7E83CC
square
#CC7EAA #CCC77E #7ECCA0 #7E83CC
split-complementary
#CC7EAA #83CC7E #7ECCC7
monochromatic
#953B6E #BB528D #CC7EAA #DDAAC7 #EFD6E4

Accessibility & contrast

On white

2.94
#CC7EAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CC7EAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EAA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EAA#FFFFFF#000000##000000
##CC7EAA1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAC
Deuteranopia (green-blind)
#979BA8
Tritanopia (blue-blind)
#D67D8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7eaa;
/* rgb */ color: rgb(204, 126, 170);
/* oklch */ color: oklch(68.9% 0.111 345.5);
Tailwind
colors: {
  custom: {
    50: '#dda5c3',
    500: '#cc7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #cc7eaa;
$custom-light: #dda5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7eaa",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 326.154,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68865,
    "c": 0.11103,
    "h": 345.5
  },
  "luminance": 0.30661
}

Semantic roles & 50–950 ramp

primary
#CC7EAA
secondary
#C6E0D1
accent
#B66A2F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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