#CC3A8D#CC3A8D

#CC3A8D is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.9% C 0.198 H 350.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CC3A8D
RGBrgb(204, 58, 141)
HSLhsl(326, 59%, 51%)
HSVhsv(326, 72%, 80%)
CMYKcmyk(0%, 71.6%, 30.9%, 20%)
CIE-LABlab(49.24, 63.79, -13.14)
CIE-LCHlch(49.24, 65.13, 348.36°)
OKLaboklab(58.85% 0.1947 -0.0343)
OKLCHoklch(58.85% 0.198 350)
XYZxyz(31.2243, 17.7901, 26.9836)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A8D #3ACC79
analogous
#C23ACC #CC3A8D #CC3A44
triadic
#CC3A8D #8DCC3A #3A8DCC
tetradic
#CC3A8D #CCC23A #3ACC79 #3A44CC
square
#CC3A8D #CCC23A #3ACC79 #3A44CC
split-complementary
#CC3A8D #44CC3A #3ACCC2
monochromatic
#6F1D4B #A0296C #CC3A8D #D96BA9 #E59BC5

Accessibility & contrast

On white

4.61
#CC3A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CC3A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A8D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A8D#FFFFFF#000000##FFFFFF
##CC3A8D1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51658F
Deuteranopia (green-blind)
#7B7E8A
Tritanopia (blue-blind)
#DB325E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3a8d;
/* rgb */ color: rgb(204, 58, 141);
/* oklch */ color: oklch(58.9% 0.198 350.0);
Tailwind
colors: {
  custom: {
    50: '#e07cae',
    500: '#cc3a8d',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a8d;
$custom-light: #e07cae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a8d",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 325.89,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.19772,
    "h": 350
  },
  "luminance": 0.17787
}

Semantic roles & 50–950 ramp

primary
#CC3A8D
secondary
#91D1AC
accent
#E28946
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CC3A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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