#C7397E#C7397E

#C7397E is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.4% C 0.188 H 355.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C7397E
RGBrgb(199, 57, 126)
HSLhsl(331, 56%, 50%)
HSVhsv(331, 71%, 78%)
CMYKcmyk(0%, 71.4%, 36.7%, 22%)
CIE-LABlab(47.72, 61.10, -6.45)
CIE-LCHlch(47.72, 61.44, 353.98°)
OKLaboklab(57.41% 0.1873 -0.0162)
OKLCHoklch(57.41% 0.188 355)
XYZxyz(28.7840, 16.5782, 21.4187)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7397E #39C782
analogous
#C739C5 #C7397E #C73B39
triadic
#C7397E #7EC739 #397EC7
tetradic
#C7397E #C5C739 #39C782 #3B39C7
square
#C7397E #C5C739 #39C782 #3B39C7
split-complementary
#C7397E #39C73B #39C5C7
monochromatic
#681D42 #982B60 #C7397E #D4699D #E298BC

Accessibility & contrast

On white

4.87
#C7397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C7397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7397E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7397E#FFFFFF#000000##FFFFFF
##C7397E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536180
Deuteranopia (green-blind)
#7B7B7B
Tritanopia (blue-blind)
#D72B57
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c7397e;
/* rgb */ color: rgb(199, 57, 126);
/* oklch */ color: oklch(57.4% 0.188 355.0);
Tailwind
colors: {
  custom: {
    50: '#dd7ba3',
    500: '#c7397e',
    950: '#000000',
  },
}
SCSS
$custom: #c7397e;
$custom-light: #dd7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#c7397e",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 330.845,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57409,
    "c": 0.18799,
    "h": 355
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#C7397E
secondary
#8ECEAF
accent
#DF9649
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C7397E

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

Preview Lab → · Contrast checker → · Palette generator →

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