#CC3F8A#CC3F8A

#CC3F8A is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.190 H 351.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC3F8A
RGBrgb(204, 63, 138)
HSLhsl(328, 58%, 52%)
HSVhsv(328, 69%, 80%)
CMYKcmyk(0%, 69.1%, 32.4%, 20%)
CIE-LABlab(49.77, 61.65, -10.53)
CIE-LCHlch(49.77, 62.55, 350.30°)
OKLaboklab(59.21% 0.1883 -0.0272)
OKLCHoklch(59.21% 0.19 351.8)
XYZxyz(31.2685, 18.2309, 25.9121)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F8A #3FCC81
analogous
#C83FCC #CC3F8A #CC3F44
triadic
#CC3F8A #8ACC3F #3F8ACC
tetradic
#CC3F8A #CCC83F #3FCC81 #3F44CC
square
#CC3F8A #CCC83F #3FCC81 #3F44CC
split-complementary
#CC3F8A #44CC3F #3FCCC8
monochromatic
#721E4B #A32B6B #CC3F8A #D96FA7 #E6A0C5

Accessibility & contrast

On white

4.52
#CC3F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CC3F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F8A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F8A#FFFFFF#000000##000000
##CC3F8A1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#56668C
Deuteranopia (green-blind)
#7D8087
Tritanopia (blue-blind)
#DB365F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3f8a;
/* rgb */ color: rgb(204, 63, 138);
/* oklch */ color: oklch(59.2% 0.190 351.8);
Tailwind
colors: {
  custom: {
    50: '#e07eac',
    500: '#cc3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f8a;
$custom-light: #e07eac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f8a",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 328.085,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59211,
    "c": 0.1903,
    "h": 351.8
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#CC3F8A
secondary
#95D2B1
accent
#E18F47
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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