#CC4AAA#CC4AAA

#CC4AAA is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.7% C 0.195 H 339.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CC4AAA
RGBrgb(204, 74, 170)
HSLhsl(316, 56%, 55%)
HSVhsv(316, 64%, 80%)
CMYKcmyk(0%, 63.7%, 16.7%, 20%)
CIE-LABlab(52.55, 61.55, -25.26)
CIE-LCHlch(52.55, 66.53, 337.68°)
OKLaboklab(61.65% 0.1824 -0.0681)
OKLCHoklch(61.65% 0.195 339.5)
XYZxyz(34.6070, 20.6403, 40.1838)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AAA #4ACC6C
analogous
#AD4ACC #CC4AAA #CC4A69
triadic
#CC4AAA #AACC4A #4AAACC
tetradic
#CC4AAA #CCAD4A #4ACC6C #4A69CC
square
#CC4AAA #CCAD4A #4ACC6C #4A69CC
split-complementary
#CC4AAA #69CC4A #4ACCAD
monochromatic
#792263 #A93089 #CC4AAA #D97AC0 #E7A9D7

Accessibility & contrast

On white

4.10
#CC4AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CC4AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AAA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AAA#FFFFFF#000000##000000
##CC4AAA1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5170AD
Deuteranopia (green-blind)
#7885A7
Tritanopia (blue-blind)
#D74E73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4aaa;
/* rgb */ color: rgb(204, 74, 170);
/* oklch */ color: oklch(61.7% 0.195 339.5);
Tailwind
colors: {
  custom: {
    50: '#df85c3',
    500: '#cc4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #cc4aaa;
$custom-light: #df85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4aaa",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 315.692,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61651,
    "c": 0.19468,
    "h": 339.5
  },
  "luminance": 0.20637
}

Semantic roles & 50–950 ramp

primary
#CC4AAA
secondary
#9DD4AC
accent
#DF7048
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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