#CC7EA3#CC7EA3

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

Color values

HEX#CC7EA3
RGBrgb(204, 126, 163)
HSLhsl(332, 43%, 65%)
HSVhsv(332, 38%, 80%)
CMYKcmyk(0%, 38.2%, 20.1%, 20%)
CIE-LABlab(62.00, 35.24, -6.89)
CIE-LCHlch(62.00, 35.91, 348.94°)
OKLaboklab(68.63% 0.1052 -0.0178)
OKLCHoklch(68.63% 0.107 350.4)
XYZxyz(38.9742, 30.4059, 38.4594)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EA3 #7ECCA7
analogous
#CC7ECA #CC7EA3 #CC807E
triadic
#CC7EA3 #A3CC7E #7EA3CC
tetradic
#CC7EA3 #CACC7E #7ECCA7 #807ECC
square
#CC7EA3 #CACC7E #7ECCA7 #807ECC
split-complementary
#CC7EA3 #7ECC80 #7ECACC
monochromatic
#953B65 #BB5284 #CC7EA3 #DDAAC2 #EFD6E2

Accessibility & contrast

On white

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

On black

7.08
#CC7EA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EA3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EA3#FFFFFF#000000##000000
##CC7EA31.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc7ea3;
/* rgb */ color: rgb(204, 126, 163);
/* oklch */ color: oklch(68.6% 0.107 350.4);
Tailwind
colors: {
  custom: {
    50: '#dda4be',
    500: '#cc7ea3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ea3;
$custom-light: #dda4be;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ea3",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 331.538,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.1067,
    "h": 350.4
  },
  "luminance": 0.30403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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