#CC3FA2#CC3FA2

#CC3FA2 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.204 H 342.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC3FA2
RGBrgb(204, 63, 162)
HSLhsl(318, 58%, 52%)
HSVhsv(318, 69%, 80%)
CMYKcmyk(0%, 69.1%, 20.6%, 20%)
CIE-LABlab(50.69, 64.67, -23.43)
CIE-LCHlch(50.69, 68.78, 340.08°)
OKLaboklab(60.18% 0.1938 -0.0628)
OKLCHoklch(60.18% 0.204 342)
XYZxyz(33.2020, 19.0043, 36.0950)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FA2 #3FCC69
analogous
#AF3FCC #CC3FA2 #CC3F5C
triadic
#CC3FA2 #A2CC3F #3FA2CC
tetradic
#CC3FA2 #CCAF3F #3FCC69 #3F5CCC
square
#CC3FA2 #CCAF3F #3FCC69 #3F5CCC
split-complementary
#CC3FA2 #5CCC3F #3FCCAF
monochromatic
#721E59 #A32B7F #CC3FA2 #D96FB9 #E6A0D1

Accessibility & contrast

On white

4.37
#CC3FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CC3FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FA2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FA2#FFFFFF#000000##000000
##CC3FA21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#76819F
Tritanopia (blue-blind)
#D8416B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3fa2;
/* rgb */ color: rgb(204, 63, 162);
/* oklch */ color: oklch(60.2% 0.204 342.0);
Tailwind
colors: {
  custom: {
    50: '#df7fbd',
    500: '#cc3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fa2;
$custom-light: #df7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fa2",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 317.872,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.20371,
    "h": 342
  },
  "luminance": 0.19001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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