#C7397D#C7397D

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

Color values

HEX#C7397D
RGBrgb(199, 57, 125)
HSLhsl(331, 56%, 50%)
HSVhsv(331, 71%, 78%)
CMYKcmyk(0%, 71.4%, 37.2%, 22%)
CIE-LABlab(47.69, 60.99, -5.89)
CIE-LCHlch(47.69, 61.27, 354.48°)
OKLaboklab(57.37% 0.187 -0.0147)
OKLCHoklch(57.37% 0.188 355.5)
XYZxyz(28.7198, 16.5525, 21.0806)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7397D #39C783
analogous
#C739C4 #C7397D #C73C39
triadic
#C7397D #7DC739 #397DC7
tetradic
#C7397D #C4C739 #39C783 #3C39C7
square
#C7397D #C4C739 #39C783 #3C39C7
split-complementary
#C7397D #39C73C #39C4C7
monochromatic
#681D41 #982B5F #C7397D #D4699C #E298BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7397D#FFFFFF#000000##FFFFFF
##C7397D1.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)
#54607F
Deuteranopia (green-blind)
#7B7B7A
Tritanopia (blue-blind)
#D72A56
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c7397d;
/* rgb */ color: rgb(199, 57, 125);
/* oklch */ color: oklch(57.4% 0.188 355.5);
Tailwind
colors: {
  custom: {
    50: '#dd7ba2',
    500: '#c7397d',
    950: '#000000',
  },
}
SCSS
$custom: #c7397d;
$custom-light: #dd7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7397d",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 331.268,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.18758,
    "h": 355.5
  },
  "luminance": 0.16549
}

Semantic roles & 50–950 ramp

primary
#C7397D
secondary
#8ECEAF
accent
#DF9749
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C7397D

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

Preview Lab → · Contrast checker → · Palette generator →

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