#CC3DAF#CC3DAF

#CC3DAF is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.6% C 0.215 H 337.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC3DAF
RGBrgb(204, 61, 175)
HSLhsl(312, 58%, 52%)
HSVhsv(312, 70%, 80%)
CMYKcmyk(0%, 70.1%, 14.2%, 20%)
CIE-LABlab(51.01, 67.19, -30.59)
CIE-LCHlch(51.01, 73.83, 335.52°)
OKLaboklab(60.59% 0.1979 -0.0831)
OKLCHoklch(60.59% 0.215 337.2)
XYZxyz(34.3091, 19.2731, 42.4623)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DAF #3DCC5A
analogous
#A23DCC #CC3DAF #CC3D68
triadic
#CC3DAF #AFCC3D #3DAFCC
tetradic
#CC3DAF #CCA23D #3DCC5A #3D68CC
square
#CC3DAF #CCA23D #3DCC5A #3D68CC
split-complementary
#CC3DAF #68CC3D #3DCCA2
monochromatic
#711E60 #A12A89 #CC3DAF #D96DC3 #E59ED7

Accessibility & contrast

On white

4.33
#CC3DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CC3DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DAF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DAF#FFFFFF#000000##000000
##CC3DAF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#7181AC
Tritanopia (blue-blind)
#D74571
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3daf;
/* rgb */ color: rgb(204, 61, 175);
/* oklch */ color: oklch(60.6% 0.215 337.2);
Tailwind
colors: {
  custom: {
    50: '#df7fc7',
    500: '#cc3daf',
    950: '#000000',
  },
}
SCSS
$custom: #cc3daf;
$custom-light: #df7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3daf",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 312.168,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.21463,
    "h": 337.2
  },
  "luminance": 0.1927
}

Semantic roles & 50–950 ramp

primary
#CC3DAF
secondary
#93D2A0
accent
#E26646
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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