#CC3FA7#CC3FA7

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

Color values

HEX#CC3FA7
RGBrgb(204, 63, 167)
HSLhsl(316, 58%, 52%)
HSVhsv(316, 69%, 80%)
CMYKcmyk(0%, 69.1%, 18.1%, 20%)
CIE-LABlab(50.90, 65.35, -26.05)
CIE-LCHlch(50.90, 70.36, 338.27°)
OKLaboklab(60.41% 0.1946 -0.0702)
OKLCHoklch(60.41% 0.207 340.2)
XYZxyz(33.6553, 19.1856, 38.4824)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FA7 #3FCC64
analogous
#AB3FCC #CC3FA7 #CC3F60
triadic
#CC3FA7 #A7CC3F #3FA7CC
tetradic
#CC3FA7 #CCAB3F #3FCC64 #3F60CC
square
#CC3FA7 #CCAB3F #3FCC64 #3F60CC
split-complementary
#CC3FA7 #60CC3F #3FCCAB
monochromatic
#721E5C #A32B83 #CC3FA7 #D96FBD #E6A0D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3FA7#FFFFFF#000000##000000
##CC3FA71.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)
#486BAA
Deuteranopia (green-blind)
#7581A4
Tritanopia (blue-blind)
#D8436E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3fa7;
/* rgb */ color: rgb(204, 63, 167);
/* oklch */ color: oklch(60.4% 0.207 340.2);
Tailwind
colors: {
  custom: {
    50: '#df7fc1',
    500: '#cc3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fa7;
$custom-light: #df7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fa7",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 315.745,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60405,
    "c": 0.20691,
    "h": 340.2
  },
  "luminance": 0.19182
}

Semantic roles & 50–950 ramp

primary
#CC3FA7
secondary
#95D2A5
accent
#E16F47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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