#CC3BAF#CC3BAF

#CC3BAF is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.4% C 0.217 H 337.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CC3BAF
RGBrgb(204, 59, 175)
HSLhsl(312, 59%, 52%)
HSVhsv(312, 71%, 80%)
CMYKcmyk(0%, 71.1%, 14.2%, 20%)
CIE-LABlab(50.76, 67.88, -30.97)
CIE-LCHlch(50.76, 74.61, 335.47°)
OKLaboklab(60.42% 0.1999 -0.0842)
OKLCHoklch(60.42% 0.217 337.2)
XYZxyz(34.2043, 19.0636, 42.4274)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3BAF #3BCC58
analogous
#A13BCC #CC3BAF #CC3B67
triadic
#CC3BAF #AFCC3B #3BAFCC
tetradic
#CC3BAF #CCA13B #3BCC58 #3B67CC
square
#CC3BAF #CCA13B #3BCC58 #3B67CC
split-complementary
#CC3BAF #67CC3B #3BCCA1
monochromatic
#701D5F #A02A88 #CC3BAF #D96CC3 #E59CD7

Accessibility & contrast

On white

4.36
#CC3BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CC3BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3BAF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3BAF#FFFFFF#000000##000000
##CC3BAF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#D74370
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3baf;
/* rgb */ color: rgb(204, 59, 175);
/* oklch */ color: oklch(60.4% 0.217 337.2);
Tailwind
colors: {
  custom: {
    50: '#df7ec7',
    500: '#cc3baf',
    950: '#000000',
  },
}
SCSS
$custom: #cc3baf;
$custom-light: #df7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3baf",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 312,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.21694,
    "h": 337.2
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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