#CC3F9D#CC3F9D

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

Color values

HEX#CC3F9D
RGBrgb(204, 63, 157)
HSLhsl(320, 58%, 52%)
HSVhsv(320, 69%, 80%)
CMYKcmyk(0%, 69.1%, 23%, 20%)
CIE-LABlab(50.49, 64.01, -20.79)
CIE-LCHlch(50.49, 67.30, 342.01°)
OKLaboklab(59.97% 0.1928 -0.0554)
OKLCHoklch(59.97% 0.201 344)
XYZxyz(32.7663, 18.8300, 33.8007)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F9D #3FCC6E
analogous
#B53FCC #CC3F9D #CC3F56
triadic
#CC3F9D #9DCC3F #3F9DCC
tetradic
#CC3F9D #CCB53F #3FCC6E #3F56CC
square
#CC3F9D #CCB53F #3FCC6E #3F56CC
split-complementary
#CC3F9D #56CC3F #3FCCB5
monochromatic
#721E56 #A32B7B #CC3F9D #D96FB6 #E6A0CE

Accessibility & contrast

On white

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

On black

4.77
#CC3F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F9D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F9D#FFFFFF#000000##000000
##CC3F9D1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E69A0
Deuteranopia (green-blind)
#78819A
Tritanopia (blue-blind)
#D93E68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3f9d;
/* rgb */ color: rgb(204, 63, 157);
/* oklch */ color: oklch(60.0% 0.201 344.0);
Tailwind
colors: {
  custom: {
    50: '#df7fba',
    500: '#cc3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f9d;
$custom-light: #df7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f9d",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 320,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.20063,
    "h": 344
  },
  "luminance": 0.18827
}

Semantic roles & 50–950 ramp

primary
#CC3F9D
secondary
#95D2A9
accent
#E17A47
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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