#CC3FB1#CC3FB1

#CC3FB1 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.9% C 0.214 H 336.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC3FB1
RGBrgb(204, 63, 177)
HSLhsl(311, 58%, 52%)
HSVhsv(311, 69%, 80%)
CMYKcmyk(0%, 69.1%, 13.2%, 20%)
CIE-LABlab(51.35, 66.78, -31.23)
CIE-LCHlch(51.35, 73.72, 334.93°)
OKLaboklab(60.87% 0.196 -0.0849)
OKLCHoklch(60.87% 0.214 336.6)
XYZxyz(34.6157, 19.5698, 43.5407)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FB1 #3FCC5A
analogous
#A03FCC #CC3FB1 #CC3F6B
triadic
#CC3FB1 #B1CC3F #3FB1CC
tetradic
#CC3FB1 #CCA03F #3FCC5A #3F6BCC
square
#CC3FB1 #CCA03F #3FCC5A #3F6BCC
split-complementary
#CC3FB1 #6BCC3F #3FCCA0
monochromatic
#721E62 #A32B8C #CC3FB1 #D96FC5 #E6A0D8

Accessibility & contrast

On white

4.27
#CC3FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC3FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FB1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FB1#FFFFFF#000000##000000
##CC3FB11.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#426DB4
Deuteranopia (green-blind)
#7182AE
Tritanopia (blue-blind)
#D64773
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3fb1;
/* rgb */ color: rgb(204, 63, 177);
/* oklch */ color: oklch(60.9% 0.214 336.6);
Tailwind
colors: {
  custom: {
    50: '#df80c8',
    500: '#cc3fb1',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fb1;
$custom-light: #df80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fb1",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 311.489,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.21363,
    "h": 336.6
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#CC3FB1
secondary
#95D2A0
accent
#E16447
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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