#CC49A7#CC49A7

#CC49A7 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.194 H 340.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CC49A7
RGBrgb(204, 73, 167)
HSLhsl(317, 56%, 54%)
HSVhsv(317, 64%, 80%)
CMYKcmyk(0%, 64.2%, 18.1%, 20%)
CIE-LABlab(52.28, 61.52, -23.92)
CIE-LCHlch(52.28, 66.01, 338.75°)
OKLaboklab(61.41% 0.1831 -0.0643)
OKLCHoklch(61.41% 0.194 340.6)
XYZxyz(34.2603, 20.3956, 38.6841)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC49A7 #49CC6E
analogous
#B049CC #CC49A7 #CC4966
triadic
#CC49A7 #A7CC49 #49A7CC
tetradic
#CC49A7 #CCB049 #49CC6E #4966CC
square
#CC49A7 #CCB049 #49CC6E #4966CC
split-complementary
#CC49A7 #66CC49 #49CCB0
monochromatic
#792260 #A92F86 #CC49A7 #D979BE #E7A9D5

Accessibility & contrast

On white

4.14
#CC49A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CC49A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC49A7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC49A7#FFFFFF#000000##000000
##CC49A71.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#7984A4
Tritanopia (blue-blind)
#D84C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc49a7;
/* rgb */ color: rgb(204, 73, 167);
/* oklch */ color: oklch(61.4% 0.194 340.6);
Tailwind
colors: {
  custom: {
    50: '#df84c1',
    500: '#cc49a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc49a7;
$custom-light: #df84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc49a7",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 167
  },
  "hsl": {
    "h": 316.947,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61411,
    "c": 0.19402,
    "h": 340.6
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#CC49A7
secondary
#9DD4AC
accent
#E07348
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC49A7

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

Preview Lab → · Contrast checker → · Palette generator →

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