#CC397A#CC397A

#CC397A is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.191 H 358.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CC397A
RGBrgb(204, 57, 122)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 72%, 80%)
CMYKcmyk(0%, 72.1%, 40.2%, 20%)
CIE-LABlab(48.48, 62.06, -2.81)
CIE-LCHlch(48.48, 62.12, 357.41°)
OKLaboklab(58.08% 0.1904 -0.0066)
OKLCHoklch(58.08% 0.191 358)
XYZxyz(29.8799, 17.1725, 20.1497)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC397A #39CC8B
analogous
#CC39C4 #CC397A #CC4139
triadic
#CC397A #7ACC39 #397ACC
tetradic
#CC397A #C4CC39 #39CC8B #4139CC
square
#CC397A #C4CC39 #39CC8B #4139CC
split-complementary
#CC397A #39CC41 #39C4CC
monochromatic
#6E1C41 #9F295D #CC397A #D96A9B #E59ABB

Accessibility & contrast

On white

4.74
#CC397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CC397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC397A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC397A#FFFFFF#000000##FFFFFF
##CC397A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617C
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#DD2655
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc397a;
/* rgb */ color: rgb(204, 57, 122);
/* oklch */ color: oklch(58.1% 0.191 358.0);
Tailwind
colors: {
  custom: {
    50: '#e17ba0',
    500: '#cc397a',
    950: '#000000',
  },
}
SCSS
$custom: #cc397a;
$custom-light: #e17ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc397a",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 333.469,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.19054,
    "h": 358
  },
  "luminance": 0.17169
}

Semantic roles & 50–950 ramp

primary
#CC397A
secondary
#90D1B4
accent
#E29D46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC397A

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

Preview Lab → · Contrast checker → · Palette generator →

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