#CC4AA6#CC4AA6

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

Color values

HEX#CC4AA6
RGBrgb(204, 74, 166)
HSLhsl(318, 56%, 55%)
HSVhsv(318, 64%, 80%)
CMYKcmyk(0%, 63.7%, 18.6%, 20%)
CIE-LABlab(52.39, 60.97, -23.17)
CIE-LCHlch(52.39, 65.23, 339.19°)
OKLaboklab(61.48% 0.1816 -0.0622)
OKLCHoklch(61.48% 0.192 341.1)
XYZxyz(34.2344, 20.4912, 38.2212)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AA6 #4ACC70
analogous
#B14ACC #CC4AA6 #CC4A65
triadic
#CC4AA6 #A6CC4A #4AA6CC
tetradic
#CC4AA6 #CCB14A #4ACC70 #4A65CC
square
#CC4AA6 #CCB14A #4ACC70 #4A65CC
split-complementary
#CC4AA6 #65CC4A #4ACCB1
monochromatic
#792260 #A93086 #CC4AA6 #D97ABD #E7A9D5

Accessibility & contrast

On white

4.12
#CC4AA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4AA6#FFFFFF#000000##000000
##CC4AA61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370A9
Deuteranopia (green-blind)
#7A85A3
Tritanopia (blue-blind)
#D84C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4aa6;
/* rgb */ color: rgb(204, 74, 166);
/* oklch */ color: oklch(61.5% 0.192 341.1);
Tailwind
colors: {
  custom: {
    50: '#df85c0',
    500: '#cc4aa6',
    950: '#000000',
  },
}
SCSS
$custom: #cc4aa6;
$custom-light: #df85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4aa6",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 317.538,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61476,
    "c": 0.192,
    "h": 341.1
  },
  "luminance": 0.20488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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