#CC3FA1#CC3FA1

#CC3FA1 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.1% C 0.203 H 342.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC3FA1
RGBrgb(204, 63, 161)
HSLhsl(318, 58%, 52%)
HSVhsv(318, 69%, 80%)
CMYKcmyk(0%, 69.1%, 21.1%, 20%)
CIE-LABlab(50.65, 64.54, -22.90)
CIE-LCHlch(50.65, 68.48, 340.46°)
OKLaboklab(60.14% 0.1936 -0.0614)
OKLCHoklch(60.14% 0.203 342.4)
XYZxyz(33.1134, 18.9689, 35.6287)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FA1 #3FCC6A
analogous
#B13FCC #CC3FA1 #CC3F5A
triadic
#CC3FA1 #A1CC3F #3FA1CC
tetradic
#CC3FA1 #CCB13F #3FCC6A #3F5ACC
square
#CC3FA1 #CCB13F #3FCC6A #3F5ACC
split-complementary
#CC3FA1 #5ACC3F #3FCCB1
monochromatic
#721E59 #A32B7E #CC3FA1 #D96FB9 #E6A0D0

Accessibility & contrast

On white

4.38
#CC3FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC3FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FA1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FA1#FFFFFF#000000##000000
##CC3FA11.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA4
Deuteranopia (green-blind)
#77819E
Tritanopia (blue-blind)
#D9406A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3fa1;
/* rgb */ color: rgb(204, 63, 161);
/* oklch */ color: oklch(60.1% 0.203 342.4);
Tailwind
colors: {
  custom: {
    50: '#df7fbd',
    500: '#cc3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fa1;
$custom-light: #df7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fa1",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 318.298,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.20308,
    "h": 342.4
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#CC3FA1
secondary
#95D2A7
accent
#E17647
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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