#CC3F8C#CC3F8C

#CC3F8C is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.3% C 0.191 H 350.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CC3F8C
RGBrgb(204, 63, 140)
HSLhsl(327, 58%, 52%)
HSVhsv(327, 69%, 80%)
CMYKcmyk(0%, 69.1%, 31.4%, 20%)
CIE-LABlab(49.85, 61.89, -11.63)
CIE-LCHlch(49.85, 62.97, 349.36°)
OKLaboklab(59.29% 0.1889 -0.0302)
OKLCHoklch(59.29% 0.191 350.9)
XYZxyz(31.4146, 18.2893, 26.6817)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F8C #3FCC7F
analogous
#C63FCC #CC3F8C #CC3F45
triadic
#CC3F8C #8CCC3F #3F8CCC
tetradic
#CC3F8C #CCC63F #3FCC7F #3F45CC
square
#CC3F8C #CCC63F #3FCC7F #3F45CC
split-complementary
#CC3F8C #45CC3F #3FCCC6
monochromatic
#721E4C #A32B6C #CC3F8C #D96FA9 #E6A0C6

Accessibility & contrast

On white

4.51
#CC3F8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CC3F8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F8C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F8C#FFFFFF#000000##000000
##CC3F8C1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668E
Deuteranopia (green-blind)
#7D8089
Tritanopia (blue-blind)
#DB3760
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc3f8c;
/* rgb */ color: rgb(204, 63, 140);
/* oklch */ color: oklch(59.3% 0.191 350.9);
Tailwind
colors: {
  custom: {
    50: '#e07fad',
    500: '#cc3f8c',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f8c;
$custom-light: #e07fad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f8c",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 140
  },
  "hsl": {
    "h": 327.234,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.19127,
    "h": 350.9
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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