#CC3FA8#CC3FA8

#CC3FA8 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.5% C 0.208 H 339.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC3FA8
RGBrgb(204, 63, 168)
HSLhsl(315, 58%, 52%)
HSVhsv(315, 69%, 80%)
CMYKcmyk(0%, 69.1%, 17.6%, 20%)
CIE-LABlab(50.95, 65.49, -26.58)
CIE-LCHlch(50.95, 70.68, 337.91°)
OKLaboklab(60.45% 0.1948 -0.0717)
OKLCHoklch(60.45% 0.208 339.8)
XYZxyz(33.7481, 19.2227, 38.9712)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FA8 #3FCC63
analogous
#A93FCC #CC3FA8 #CC3F62
triadic
#CC3FA8 #A8CC3F #3FA8CC
tetradic
#CC3FA8 #CCA93F #3FCC63 #3F62CC
square
#CC3FA8 #CCA93F #3FCC63 #3F62CC
split-complementary
#CC3FA8 #62CC3F #3FCCA9
monochromatic
#721E5D #A32B84 #CC3FA8 #D96FBE #E6A0D4

Accessibility & contrast

On white

4.34
#CC3FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC3FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FA8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FA8#FFFFFF#000000##000000
##CC3FA81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#486BAB
Deuteranopia (green-blind)
#7481A5
Tritanopia (blue-blind)
#D8436E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3fa8;
/* rgb */ color: rgb(204, 63, 168);
/* oklch */ color: oklch(60.5% 0.208 339.8);
Tailwind
colors: {
  custom: {
    50: '#df7fc2',
    500: '#cc3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fa8;
$custom-light: #df7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fa8",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 315.319,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60451,
    "c": 0.20756,
    "h": 339.8
  },
  "luminance": 0.1922
}

Semantic roles & 50–950 ramp

primary
#CC3FA8
secondary
#95D2A4
accent
#E16E47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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