#CC3BA8#CC3BA8

#CC3BA8 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.1% C 0.212 H 339.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC3BA8
RGBrgb(204, 59, 168)
HSLhsl(315, 59%, 52%)
HSVhsv(315, 71%, 80%)
CMYKcmyk(0%, 71.1%, 17.6%, 20%)
CIE-LABlab(50.45, 66.90, -27.35)
CIE-LCHlch(50.45, 72.27, 337.76°)
OKLaboklab(60.09% 0.199 -0.0739)
OKLCHoklch(60.09% 0.212 339.6)
XYZxyz(33.5345, 18.7957, 38.9000)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3BA8 #3BCC5F
analogous
#A83BCC #CC3BA8 #CC3B60
triadic
#CC3BA8 #A8CC3B #3BA8CC
tetradic
#CC3BA8 #CCA83B #3BCC5F #3B60CC
square
#CC3BA8 #CCA83B #3BCC5F #3B60CC
split-complementary
#CC3BA8 #60CC3B #3BCCA8
monochromatic
#701D5B #A02A83 #CC3BA8 #D96CBE #E59CD3

Accessibility & contrast

On white

4.41
#CC3BA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC3BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3BA8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3BA8#FFFFFF#000000##000000
##CC3BA81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#7380A5
Tritanopia (blue-blind)
#D8406D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3ba8;
/* rgb */ color: rgb(204, 59, 168);
/* oklch */ color: oklch(60.1% 0.212 339.6);
Tailwind
colors: {
  custom: {
    50: '#df7dc2',
    500: '#cc3ba8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ba8;
$custom-light: #df7dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ba8",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 314.897,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60088,
    "c": 0.21229,
    "h": 339.6
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#CC3BA8
secondary
#92D1A1
accent
#E26D46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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