#C7397A#C7397A

#C7397A is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.186 H 356.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C7397A
RGBrgb(199, 57, 122)
HSLhsl(333, 56%, 50%)
HSVhsv(333, 71%, 78%)
CMYKcmyk(0%, 71.4%, 38.7%, 22%)
CIE-LABlab(47.59, 60.67, -4.21)
CIE-LCHlch(47.59, 60.82, 356.03°)
OKLaboklab(57.27% 0.1861 -0.0103)
OKLCHoklch(57.27% 0.186 356.8)
XYZxyz(28.5311, 16.4770, 20.0865)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7397A #39C786
analogous
#C739C1 #C7397A #C73F39
triadic
#C7397A #7AC739 #397AC7
tetradic
#C7397A #C1C739 #39C786 #3F39C7
square
#C7397A #C1C739 #39C786 #3F39C7
split-complementary
#C7397A #39C73F #39C1C7
monochromatic
#681D40 #982B5D #C7397A #D4699A #E298BA

Accessibility & contrast

On white

4.89
#C7397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C7397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7397A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7397A#FFFFFF#000000##FFFFFF
##C7397A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607C
Deuteranopia (green-blind)
#7C7B77
Tritanopia (blue-blind)
#D72955
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c7397a;
/* rgb */ color: rgb(199, 57, 122);
/* oklch */ color: oklch(57.3% 0.186 356.8);
Tailwind
colors: {
  custom: {
    50: '#dd7ba0',
    500: '#c7397a',
    950: '#000000',
  },
}
SCSS
$custom: #c7397a;
$custom-light: #dd7ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7397a",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 332.535,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.18636,
    "h": 356.8
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#C7397A
secondary
#8ECEB1
accent
#DF9A49
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C7397A

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

Preview Lab → · Contrast checker → · Palette generator →

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