#CC4AA7#CC4AA7

#CC4AA7 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.5% C 0.193 H 340.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CC4AA7
RGBrgb(204, 74, 167)
HSLhsl(317, 56%, 55%)
HSVhsv(317, 64%, 80%)
CMYKcmyk(0%, 63.7%, 18.1%, 20%)
CIE-LABlab(52.43, 61.12, -23.70)
CIE-LCHlch(52.43, 65.55, 338.81°)
OKLaboklab(61.52% 0.1818 -0.0637)
OKLCHoklch(61.52% 0.193 340.7)
XYZxyz(34.3265, 20.5281, 38.7062)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AA7 #4ACC6F
analogous
#B04ACC #CC4AA7 #CC4A66
triadic
#CC4AA7 #A7CC4A #4AA7CC
tetradic
#CC4AA7 #CCB04A #4ACC6F #4A66CC
square
#CC4AA7 #CCB04A #4ACC6F #4A66CC
split-complementary
#CC4AA7 #66CC4A #4ACCB0
monochromatic
#792261 #A93087 #CC4AA7 #D97ABE #E7A9D5

Accessibility & contrast

On white

4.11
#CC4AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CC4AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AA7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AA7#FFFFFF#000000##000000
##CC4AA71.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#7985A4
Tritanopia (blue-blind)
#D84D72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4aa7;
/* rgb */ color: rgb(204, 74, 167);
/* oklch */ color: oklch(61.5% 0.193 340.7);
Tailwind
colors: {
  custom: {
    50: '#df85c1',
    500: '#cc4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4aa7;
$custom-light: #df85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4aa7",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 317.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61519,
    "c": 0.19266,
    "h": 340.7
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#CC4AA7
secondary
#9DD4AD
accent
#DF7348
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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