#CC4AA8#CC4AA8

#CC4AA8 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.6% C 0.193 H 340.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CC4AA8
RGBrgb(204, 74, 168)
HSLhsl(317, 56%, 55%)
HSVhsv(317, 64%, 80%)
CMYKcmyk(0%, 63.7%, 17.6%, 20%)
CIE-LABlab(52.47, 61.26, -24.22)
CIE-LCHlch(52.47, 65.87, 338.43°)
OKLaboklab(61.56% 0.182 -0.0652)
OKLCHoklch(61.56% 0.193 340.3)
XYZxyz(34.4193, 20.5652, 39.1949)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AA8 #4ACC6E
analogous
#AF4ACC #CC4AA8 #CC4A67
triadic
#CC4AA8 #A8CC4A #4AA8CC
tetradic
#CC4AA8 #CCAF4A #4ACC6E #4A67CC
square
#CC4AA8 #CCAF4A #4ACC6E #4A67CC
split-complementary
#CC4AA8 #67CC4A #4ACCAF
monochromatic
#792261 #A93088 #CC4AA8 #D97ABF #E7A9D6

Accessibility & contrast

On white

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

On black

5.11
#CC4AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AA8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AA8#FFFFFF#000000##000000
##CC4AA81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AB
Deuteranopia (green-blind)
#7985A5
Tritanopia (blue-blind)
#D74D72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4aa8;
/* rgb */ color: rgb(204, 74, 168);
/* oklch */ color: oklch(61.6% 0.193 340.3);
Tailwind
colors: {
  custom: {
    50: '#df85c2',
    500: '#cc4aa8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4aa8;
$custom-light: #df85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4aa8",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 316.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61563,
    "c": 0.19333,
    "h": 340.3
  },
  "luminance": 0.20562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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