#CC3FAB#CC3FAB

#CC3FAB is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.6% C 0.210 H 338.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC3FAB
RGBrgb(204, 63, 171)
HSLhsl(314, 58%, 52%)
HSVhsv(314, 69%, 80%)
CMYKcmyk(0%, 69.1%, 16.2%, 20%)
CIE-LABlab(51.08, 65.91, -28.14)
CIE-LCHlch(51.08, 71.67, 336.89°)
OKLaboklab(60.59% 0.1952 -0.0761)
OKLCHoklch(60.59% 0.21 338.7)
XYZxyz(34.0308, 19.3358, 40.4601)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FAB #3FCC60
analogous
#A73FCC #CC3FAB #CC3F64
triadic
#CC3FAB #ABCC3F #3FABCC
tetradic
#CC3FAB #CCA73F #3FCC60 #3F64CC
square
#CC3FAB #CCA73F #3FCC60 #3F64CC
split-complementary
#CC3FAB #64CC3F #3FCCA7
monochromatic
#721E5F #A32B87 #CC3FAB #D96FC0 #E6A0D5

Accessibility & contrast

On white

4.32
#CC3FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC3FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FAB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FAB#FFFFFF#000000##000000
##CC3FAB1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#466CAE
Deuteranopia (green-blind)
#7382A8
Tritanopia (blue-blind)
#D74570
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3fab;
/* rgb */ color: rgb(204, 63, 171);
/* oklch */ color: oklch(60.6% 0.210 338.7);
Tailwind
colors: {
  custom: {
    50: '#df7fc4',
    500: '#cc3fab',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fab;
$custom-light: #df7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fab",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 314.043,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.20955,
    "h": 338.7
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#CC3FAB
secondary
#95D2A3
accent
#E16B47
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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