#CC7EA5#CC7EA5

#CC7EA5 is a light, moderate pink. Relative luminance 0.305; OKLCH L 68.7% C 0.108 H 349.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CC7EA5
RGBrgb(204, 126, 165)
HSLhsl(330, 43%, 65%)
HSVhsv(330, 38%, 80%)
CMYKcmyk(0%, 38.2%, 19.1%, 20%)
CIE-LABlab(62.06, 35.55, -7.94)
CIE-LCHlch(62.06, 36.43, 347.41°)
OKLaboklab(68.69% 0.1059 -0.0207)
OKLCHoklch(68.69% 0.108 349)
XYZxyz(39.1548, 30.4782, 39.4106)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EA5 #7ECCA5
analogous
#CC7ECC #CC7EA5 #CC7E7E
triadic
#CC7EA5 #A5CC7E #7EA5CC
tetradic
#CC7EA5 #CCCC7E #7ECCA5 #7E7ECC
square
#CC7EA5 #CCCC7E #7ECCA5 #7E7ECC
split-complementary
#CC7EA5 #7ECC7E #7ECCCC
monochromatic
#953B68 #BB5286 #CC7EA5 #DDAAC4 #EFD6E2

Accessibility & contrast

On white

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

On black

7.10
#CC7EA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EA5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EA5#FFFFFF#000000##000000
##CC7EA51.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA6
Deuteranopia (green-blind)
#989BA3
Tritanopia (blue-blind)
#D67C8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7ea5;
/* rgb */ color: rgb(204, 126, 165);
/* oklch */ color: oklch(68.7% 0.108 349.0);
Tailwind
colors: {
  custom: {
    50: '#dda4bf',
    500: '#cc7ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ea5;
$custom-light: #dda4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ea5",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 330,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68692,
    "c": 0.10787,
    "h": 349
  },
  "luminance": 0.30476
}

Semantic roles & 50–950 ramp

primary
#CC7EA5
secondary
#C6E0D3
accent
#B6732F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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