#CC4A8E#CC4A8E

#CC4A8E is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.178 H 351.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC4A8E
RGBrgb(204, 74, 142)
HSLhsl(329, 56%, 55%)
HSVhsv(329, 64%, 80%)
CMYKcmyk(0%, 63.7%, 30.4%, 20%)
CIE-LABlab(51.49, 57.79, -10.35)
CIE-LCHlch(51.49, 58.71, 349.84°)
OKLaboklab(60.52% 0.1759 -0.0268)
OKLCHoklch(60.52% 0.178 351.3)
XYZxyz(32.2347, 19.6913, 27.6892)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A8E #4ACC88
analogous
#C94ACC #CC4A8E #CC4A4D
triadic
#CC4A8E #8ECC4A #4A8ECC
tetradic
#CC4A8E #CCC94A #4ACC88 #4A4DCC
square
#CC4A8E #CCC94A #4ACC88 #4A4DCC
split-complementary
#CC4A8E #4DCC4A #4ACCC9
monochromatic
#792250 #A9306F #CC4A8E #D97AAC #E7A9CA

Accessibility & contrast

On white

4.25
#CC4A8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC4A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A8E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A8E#FFFFFF#000000##000000
##CC4A8E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C90
Deuteranopia (green-blind)
#81838B
Tritanopia (blue-blind)
#DA4366
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4a8e;
/* rgb */ color: rgb(204, 74, 142);
/* oklch */ color: oklch(60.5% 0.178 351.3);
Tailwind
colors: {
  custom: {
    50: '#df84af',
    500: '#cc4a8e',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a8e;
$custom-light: #df84af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a8e",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 328.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60517,
    "c": 0.17794,
    "h": 351.3
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#CC4A8E
secondary
#9DD4B8
accent
#DF9048
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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