#CC3FAF#CC3FAF

#CC3FAF is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.8% C 0.212 H 337.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC3FAF
RGBrgb(204, 63, 175)
HSLhsl(312, 58%, 52%)
HSVhsv(312, 69%, 80%)
CMYKcmyk(0%, 69.1%, 14.2%, 20%)
CIE-LABlab(51.26, 66.49, -30.20)
CIE-LCHlch(51.26, 73.02, 335.57°)
OKLaboklab(60.78% 0.1958 -0.082)
OKLCHoklch(60.78% 0.212 337.3)
XYZxyz(34.4178, 19.4906, 42.4985)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FAF #3FCC5C
analogous
#A23FCC #CC3FAF #CC3F69
triadic
#CC3FAF #AFCC3F #3FAFCC
tetradic
#CC3FAF #CCA23F #3FCC5C #3F69CC
square
#CC3FAF #CCA23F #3FCC5C #3F69CC
split-complementary
#CC3FAF #69CC3F #3FCCA2
monochromatic
#721E61 #A32B8A #CC3FAF #D96FC3 #E6A0D7

Accessibility & contrast

On white

4.29
#CC3FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CC3FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FAF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FAF#FFFFFF#000000##000000
##CC3FAF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#7282AC
Tritanopia (blue-blind)
#D74772
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3faf;
/* rgb */ color: rgb(204, 63, 175);
/* oklch */ color: oklch(60.8% 0.212 337.3);
Tailwind
colors: {
  custom: {
    50: '#df80c7',
    500: '#cc3faf',
    950: '#000000',
  },
}
SCSS
$custom: #cc3faf;
$custom-light: #df80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3faf",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 312.34,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.21226,
    "h": 337.3
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#CC3FAF
secondary
#95D2A1
accent
#E16647
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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