#CC4A9F#CC4A9F

#CC4A9F is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.188 H 343.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CC4A9F
RGBrgb(204, 74, 159)
HSLhsl(321, 56%, 55%)
HSVhsv(321, 64%, 80%)
CMYKcmyk(0%, 63.7%, 22.1%, 20%)
CIE-LABlab(52.11, 60.00, -19.48)
CIE-LCHlch(52.11, 63.08, 342.01°)
OKLaboklab(61.18% 0.1802 -0.0519)
OKLCHoklch(61.18% 0.188 343.9)
XYZxyz(33.6097, 20.2413, 34.9311)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A9F #4ACC77
analogous
#B84ACC #CC4A9F #CC4A5E
triadic
#CC4A9F #9FCC4A #4A9FCC
tetradic
#CC4A9F #CCB84A #4ACC77 #4A5ECC
square
#CC4A9F #CCB84A #4ACC77 #4A5ECC
split-complementary
#CC4A9F #5ECC4A #4ACCB8
monochromatic
#79225B #A9307F #CC4A9F #D97AB8 #E7A9D2

Accessibility & contrast

On white

4.16
#CC4A9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CC4A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A9F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A9F#FFFFFF#000000##000000
##CC4A9F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#566EA2
Deuteranopia (green-blind)
#7C849C
Tritanopia (blue-blind)
#D94A6E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4a9f;
/* rgb */ color: rgb(204, 74, 159);
/* oklch */ color: oklch(61.2% 0.188 343.9);
Tailwind
colors: {
  custom: {
    50: '#df85bb',
    500: '#cc4a9f',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a9f;
$custom-light: #df85bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a9f",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 320.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61179,
    "c": 0.1875,
    "h": 343.9
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#CC4A9F
secondary
#9DD4B0
accent
#DF7D48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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