#CC3BA7#CC3BA7

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

Color values

HEX#CC3BA7
RGBrgb(204, 59, 167)
HSLhsl(315, 59%, 52%)
HSVhsv(315, 71%, 80%)
CMYKcmyk(0%, 71.1%, 18.1%, 20%)
CIE-LABlab(50.40, 66.76, -26.83)
CIE-LCHlch(50.40, 71.95, 338.11°)
OKLaboklab(60.04% 0.1989 -0.0724)
OKLCHoklch(60.04% 0.212 340)
XYZxyz(33.4417, 18.7585, 38.4113)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3BA7 #3BCC60
analogous
#A83BCC #CC3BA7 #CC3B5F
triadic
#CC3BA7 #A7CC3B #3BA7CC
tetradic
#CC3BA7 #CCA83B #3BCC60 #3B5FCC
square
#CC3BA7 #CCA83B #3BCC60 #3B5FCC
split-complementary
#CC3BA7 #5FCC3B #3BCCA8
monochromatic
#701D5B #A02A82 #CC3BA7 #D96CBD #E59CD3

Accessibility & contrast

On white

4.42
#CC3BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CC3BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3BA7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3BA7#FFFFFF#000000##000000
##CC3BA71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4569AA
Deuteranopia (green-blind)
#7380A4
Tritanopia (blue-blind)
#D83F6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3ba7;
/* rgb */ color: rgb(204, 59, 167);
/* oklch */ color: oklch(60.0% 0.212 340.0);
Tailwind
colors: {
  custom: {
    50: '#df7dc1',
    500: '#cc3ba7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ba7;
$custom-light: #df7dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ba7",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 315.31,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.21165,
    "h": 340
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

primary
#CC3BA7
secondary
#92D1A2
accent
#E26E46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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