#CC4A8F#CC4A8F

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

Color values

HEX#CC4A8F
RGBrgb(204, 74, 143)
HSLhsl(328, 56%, 55%)
HSVhsv(328, 64%, 80%)
CMYKcmyk(0%, 63.7%, 29.9%, 20%)
CIE-LABlab(51.52, 57.92, -10.90)
CIE-LCHlch(51.52, 58.93, 349.34°)
OKLaboklab(60.55% 0.1762 -0.0283)
OKLCHoklch(60.55% 0.178 350.9)
XYZxyz(32.3101, 19.7215, 28.0863)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A8F #4ACC87
analogous
#C84ACC #CC4A8F #CC4A4E
triadic
#CC4A8F #8FCC4A #4A8FCC
tetradic
#CC4A8F #CCC84A #4ACC87 #4A4ECC
square
#CC4A8F #CCC84A #4ACC87 #4A4ECC
split-complementary
#CC4A8F #4ECC4A #4ACCC8
monochromatic
#792250 #A93070 #CC4A8F #D97AAD #E7A9CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4A8F#FFFFFF#000000##000000
##CC4A8F1.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)
#5C6C91
Deuteranopia (green-blind)
#81838C
Tritanopia (blue-blind)
#DA4366
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4a8f;
/* rgb */ color: rgb(204, 74, 143);
/* oklch */ color: oklch(60.6% 0.178 350.9);
Tailwind
colors: {
  custom: {
    50: '#df84af',
    500: '#cc4a8f',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a8f;
$custom-light: #df84af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a8f",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 328.154,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.17845,
    "h": 350.9
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#CC4A8F
secondary
#9DD4B7
accent
#DF8F48
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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