#CC3F7A#CC3F7A

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

Color values

HEX#CC3F7A
RGBrgb(204, 63, 122)
HSLhsl(335, 58%, 52%)
HSVhsv(335, 69%, 80%)
CMYKcmyk(0%, 69.1%, 40.2%, 20%)
CIE-LABlab(49.25, 59.90, -1.66)
CIE-LCHlch(49.25, 59.92, 358.41°)
OKLaboklab(58.66% 0.1836 -0.0036)
OKLCHoklch(58.66% 0.184 358.9)
XYZxyz(30.1943, 17.8012, 20.2545)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F7A #3FCC91
analogous
#CC3FC0 #CC3F7A #CC4B3F
triadic
#CC3F7A #7ACC3F #3F7ACC
tetradic
#CC3F7A #C0CC3F #3FCC91 #4B3FCC
square
#CC3F7A #C0CC3F #3FCC91 #4B3FCC
split-complementary
#CC3F7A #3FCC4B #3FC0CC
monochromatic
#721E41 #A32B5D #CC3F7A #D96F9B #E6A0BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3F7A#FFFFFF#000000##FFFFFF
##CC3F7A1.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)
#5B647C
Deuteranopia (green-blind)
#817F77
Tritanopia (blue-blind)
#DD2E57
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3f7a;
/* rgb */ color: rgb(204, 63, 122);
/* oklch */ color: oklch(58.7% 0.184 358.9);
Tailwind
colors: {
  custom: {
    50: '#e17ea0',
    500: '#cc3f7a',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f7a;
$custom-light: #e17ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f7a",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 122
  },
  "hsl": {
    "h": 334.894,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.18359,
    "h": 358.9
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#CC3F7A
secondary
#95D2B8
accent
#E1A147
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC3F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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