#CC3BAC#CC3BAC

#CC3BAC is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.3% C 0.215 H 338.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC3BAC
RGBrgb(204, 59, 172)
HSLhsl(313, 59%, 52%)
HSVhsv(313, 71%, 80%)
CMYKcmyk(0%, 71.1%, 15.7%, 20%)
CIE-LABlab(50.63, 67.46, -29.43)
CIE-LCHlch(50.63, 73.59, 336.43°)
OKLaboklab(60.28% 0.1996 -0.0798)
OKLCHoklch(60.28% 0.215 338.2)
XYZxyz(33.9129, 18.9470, 40.8928)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3BAC #3BCC5B
analogous
#A33BCC #CC3BAC #CC3B64
triadic
#CC3BAC #ACCC3B #3BACCC
tetradic
#CC3BAC #CCA33B #3BCC5B #3B64CC
square
#CC3BAC #CCA33B #3BCC5B #3B64CC
split-complementary
#CC3BAC #64CC3B #3BCCA3
monochromatic
#701D5D #A02A86 #CC3BAC #D96CC1 #E59CD5

Accessibility & contrast

On white

4.39
#CC3BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC3BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3BAC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3BAC#FFFFFF#000000##000000
##CC3BAC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#7181A9
Tritanopia (blue-blind)
#D7426F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3bac;
/* rgb */ color: rgb(204, 59, 172);
/* oklch */ color: oklch(60.3% 0.215 338.2);
Tailwind
colors: {
  custom: {
    50: '#df7ec5',
    500: '#cc3bac',
    950: '#000000',
  },
}
SCSS
$custom: #cc3bac;
$custom-light: #df7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3bac",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 313.241,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.21492,
    "h": 338.2
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#CC3BAC
secondary
#92D1A0
accent
#E26846
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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