#CC3CAF#CC3CAF

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

Color values

HEX#CC3CAF
RGBrgb(204, 60, 175)
HSLhsl(312, 59%, 52%)
HSVhsv(312, 71%, 80%)
CMYKcmyk(0%, 70.6%, 14.2%, 20%)
CIE-LABlab(50.88, 67.54, -30.79)
CIE-LCHlch(50.88, 74.22, 335.50°)
OKLaboklab(60.51% 0.1989 -0.0836)
OKLCHoklch(60.51% 0.216 337.2)
XYZxyz(34.2562, 19.1673, 42.4447)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3CAF #3CCC59
analogous
#A13CCC #CC3CAF #CC3C67
triadic
#CC3CAF #AFCC3C #3CAFCC
tetradic
#CC3CAF #CCA13C #3CCC59 #3C67CC
square
#CC3CAF #CCA13C #3CCC59 #3C67CC
split-complementary
#CC3CAF #67CC3C #3CCCA1
monochromatic
#701D60 #A12A89 #CC3CAF #D96DC3 #E59DD7

Accessibility & contrast

On white

4.35
#CC3CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CC3CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3CAF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3CAF#FFFFFF#000000##000000
##CC3CAF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#D74471
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3caf;
/* rgb */ color: rgb(204, 60, 175);
/* oklch */ color: oklch(60.5% 0.216 337.2);
Tailwind
colors: {
  custom: {
    50: '#df7ec7',
    500: '#cc3caf',
    950: '#000000',
  },
}
SCSS
$custom: #cc3caf;
$custom-light: #df7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3caf",
  "rgb": {
    "r": 204,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 312.083,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60506,
    "c": 0.21579,
    "h": 337.2
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#CC3CAF
secondary
#92D19F
accent
#E26546
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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