#CC3D97#CC3D97

#CC3D97 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.5% C 0.200 H 346.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CC3D97
RGBrgb(204, 61, 151)
HSLhsl(322, 58%, 52%)
HSVhsv(322, 70%, 80%)
CMYKcmyk(0%, 70.1%, 26%, 20%)
CIE-LABlab(49.99, 63.95, -17.98)
CIE-LCHlch(49.99, 66.43, 344.30°)
OKLaboklab(59.53% 0.1938 -0.0476)
OKLCHoklch(59.53% 0.2 346.2)
XYZxyz(32.1579, 18.4126, 31.1326)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3D97 #3DCC72
analogous
#BA3DCC #CC3D97 #CC3D50
triadic
#CC3D97 #97CC3D #3D97CC
tetradic
#CC3D97 #CCBA3D #3DCC72 #3D50CC
square
#CC3D97 #CCBA3D #3DCC72 #3D50CC
split-complementary
#CC3D97 #50CC3D #3DCCBA
monochromatic
#711E52 #A12A75 #CC3D97 #D96DB1 #E59ECB

Accessibility & contrast

On white

4.49
#CC3D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CC3D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3D97
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3D97#FFFFFF#000000##000000
##CC3D971.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F679A
Deuteranopia (green-blind)
#798094
Tritanopia (blue-blind)
#DA3A65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc3d97;
/* rgb */ color: rgb(204, 61, 151);
/* oklch */ color: oklch(59.5% 0.200 346.2);
Tailwind
colors: {
  custom: {
    50: '#e07eb5',
    500: '#cc3d97',
    950: '#000000',
  },
}
SCSS
$custom: #cc3d97;
$custom-light: #e07eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3d97",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 322.238,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.19955,
    "h": 346.2
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#CC3D97
secondary
#93D2AA
accent
#E28046
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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