#CC497F#CC497F

#CC497F is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.173 H 358.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC497F
RGBrgb(204, 73, 127)
HSLhsl(335, 56%, 54%)
HSVhsv(335, 64%, 80%)
CMYKcmyk(0%, 64.2%, 37.7%, 20%)
CIE-LABlab(50.85, 56.47, -2.33)
CIE-LCHlch(50.85, 56.51, 357.63°)
OKLaboklab(59.89% 0.1727 -0.0054)
OKLCHoklch(59.89% 0.173 358.2)
XYZxyz(31.1171, 19.1383, 22.1299)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC497F #49CC96
analogous
#CC49C1 #CC497F #CC5549
triadic
#CC497F #7FCC49 #497FCC
tetradic
#CC497F #C1CC49 #49CC96 #5549CC
square
#CC497F #C1CC49 #49CC96 #5549CC
split-complementary
#CC497F #49CC55 #49C1CC
monochromatic
#792246 #A92F61 #CC497F #D979A1 #E7A9C2

Accessibility & contrast

On white

4.35
#CC497F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CC497F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC497F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC497F#FFFFFF#000000##000000
##CC497F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#616981
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#DC3D5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc497f;
/* rgb */ color: rgb(204, 73, 127);
/* oklch */ color: oklch(59.9% 0.173 358.2);
Tailwind
colors: {
  custom: {
    50: '#e083a4',
    500: '#cc497f',
    950: '#000000',
  },
}
SCSS
$custom: #cc497f;
$custom-light: #e083a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc497f",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 335.267,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.17273,
    "h": 358.2
  },
  "luminance": 0.19135
}

Semantic roles & 50–950 ramp

primary
#CC497F
secondary
#9DD4BD
accent
#E0A148
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC497F

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

Preview Lab → · Contrast checker → · Palette generator →

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