#CC3F9E#CC3F9E

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

Color values

HEX#CC3F9E
RGBrgb(204, 63, 158)
HSLhsl(320, 58%, 52%)
HSVhsv(320, 69%, 80%)
CMYKcmyk(0%, 69.1%, 22.5%, 20%)
CIE-LABlab(50.53, 64.14, -21.32)
CIE-LCHlch(50.53, 67.59, 341.61°)
OKLaboklab(60.01% 0.193 -0.0569)
OKLCHoklch(60.01% 0.201 343.6)
XYZxyz(32.8521, 18.8643, 34.2522)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F9E #3FCC6D
analogous
#B33FCC #CC3F9E #CC3F58
triadic
#CC3F9E #9ECC3F #3F9ECC
tetradic
#CC3F9E #CCB33F #3FCC6D #3F58CC
square
#CC3F9E #CCB33F #3FCC6D #3F58CC
split-complementary
#CC3F9E #58CC3F #3FCCB3
monochromatic
#721E57 #A32B7C #CC3F9E #D96FB6 #E6A0CF

Accessibility & contrast

On white

4.40
#CC3F9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3F9E#FFFFFF#000000##000000
##CC3F9E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D69A1
Deuteranopia (green-blind)
#78819B
Tritanopia (blue-blind)
#D93F69
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3f9e;
/* rgb */ color: rgb(204, 63, 158);
/* oklch */ color: oklch(60.0% 0.201 343.6);
Tailwind
colors: {
  custom: {
    50: '#df7fba',
    500: '#cc3f9e',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f9e;
$custom-light: #df7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f9e",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 319.574,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.20124,
    "h": 343.6
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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