#CC497A#CC497A

#CC497A is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.171 H 0.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC497A
RGBrgb(204, 73, 122)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 64.2%, 40.2%, 20%)
CIE-LABlab(50.70, 55.93, 0.45)
CIE-LCHlch(50.70, 55.93, 0.46°)
OKLaboklab(59.73% 0.171 0.0018)
OKLCHoklch(59.73% 0.171 0.6)
XYZxyz(30.7993, 19.0112, 20.4562)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC497A #49CC9B
analogous
#CC49BC #CC497A #CC5A49
triadic
#CC497A #7ACC49 #497ACC
tetradic
#CC497A #BCCC49 #49CC9B #5A49CC
square
#CC497A #BCCC49 #49CC9B #5A49CC
split-complementary
#CC497A #49CC5A #49BCCC
monochromatic
#792242 #A92F5D #CC497A #D9799D #E7A9C0

Accessibility & contrast

On white

4.37
#CC497A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CC497A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC497A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC497A#FFFFFF#000000##000000
##CC497A1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#62697B
Deuteranopia (green-blind)
#858277
Tritanopia (blue-blind)
#DC3B5C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc497a;
/* rgb */ color: rgb(204, 73, 122);
/* oklch */ color: oklch(59.7% 0.171 0.6);
Tailwind
colors: {
  custom: {
    50: '#e083a0',
    500: '#cc497a',
    950: '#000000',
  },
}
SCSS
$custom: #cc497a;
$custom-light: #e083a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc497a",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 122
  },
  "hsl": {
    "h": 337.557,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.17099,
    "h": 0.6
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#CC497A
secondary
#9DD4BF
accent
#E0A748
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC497A

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

Preview Lab → · Contrast checker → · Palette generator →

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