#CC4AA2#CC4AA2

#CC4AA2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.189 H 342.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC4AA2
RGBrgb(204, 74, 162)
HSLhsl(319, 56%, 55%)
HSVhsv(319, 64%, 80%)
CMYKcmyk(0%, 63.7%, 20.6%, 20%)
CIE-LABlab(52.23, 60.41, -21.07)
CIE-LCHlch(52.23, 63.98, 340.77°)
OKLaboklab(61.31% 0.1808 -0.0563)
OKLCHoklch(61.31% 0.189 342.7)
XYZxyz(33.8732, 20.3467, 36.3188)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AA2 #4ACC74
analogous
#B54ACC #CC4AA2 #CC4A61
triadic
#CC4AA2 #A2CC4A #4AA2CC
tetradic
#CC4AA2 #CCB54A #4ACC74 #4A61CC
square
#CC4AA2 #CCB54A #4ACC74 #4A61CC
split-complementary
#CC4AA2 #61CC4A #4ACCB5
monochromatic
#79225D #A93082 #CC4AA2 #D97ABB #E7A9D3

Accessibility & contrast

On white

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

On black

5.07
#CC4AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AA2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AA2#FFFFFF#000000##000000
##CC4AA21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#7B849F
Tritanopia (blue-blind)
#D84B6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4aa2;
/* rgb */ color: rgb(204, 74, 162);
/* oklch */ color: oklch(61.3% 0.189 342.7);
Tailwind
colors: {
  custom: {
    50: '#df85bd',
    500: '#cc4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4aa2;
$custom-light: #df85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4aa2",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 319.385,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61305,
    "c": 0.1894,
    "h": 342.7
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#CC4AA2
secondary
#9DD4AF
accent
#DF7948
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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