#CC3A7E#CC3A7E

#CC3A7E is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.3% C 0.191 H 356.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CC3A7E
RGBrgb(204, 58, 126)
HSLhsl(332, 59%, 51%)
HSVhsv(332, 72%, 80%)
CMYKcmyk(0%, 71.6%, 38.2%, 20%)
CIE-LABlab(48.73, 62.13, -4.86)
CIE-LCHlch(48.73, 62.32, 355.52°)
OKLaboklab(58.31% 0.1906 -0.012)
OKLCHoklch(58.31% 0.191 356.4)
XYZxyz(30.1828, 17.3735, 21.4986)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A7E #3ACC88
analogous
#CC3AC7 #CC3A7E #CC3F3A
triadic
#CC3A7E #7ECC3A #3A7ECC
tetradic
#CC3A7E #C7CC3A #3ACC88 #3F3ACC
square
#CC3A7E #C7CC3A #3ACC88 #3F3ACC
split-complementary
#CC3A7E #3ACC3F #3AC7CC
monochromatic
#6F1D43 #A02960 #CC3A7E #D96B9E #E59BBE

Accessibility & contrast

On white

4.69
#CC3A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CC3A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A7E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A7E#FFFFFF#000000##FFFFFF
##CC3A7E1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566280
Deuteranopia (green-blind)
#7F7E7B
Tritanopia (blue-blind)
#DC2A57
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3a7e;
/* rgb */ color: rgb(204, 58, 126);
/* oklch */ color: oklch(58.3% 0.191 356.4);
Tailwind
colors: {
  custom: {
    50: '#e17ca3',
    500: '#cc3a7e',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a7e;
$custom-light: #e17ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a7e",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 332.055,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58309,
    "c": 0.19094,
    "h": 356.4
  },
  "luminance": 0.1737
}

Semantic roles & 50–950 ramp

primary
#CC3A7E
secondary
#91D1B3
accent
#E29946
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC3A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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