#C7397C#C7397C

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

Color values

HEX#C7397C
RGBrgb(199, 57, 124)
HSLhsl(332, 56%, 50%)
HSVhsv(332, 71%, 78%)
CMYKcmyk(0%, 71.4%, 37.7%, 22%)
CIE-LABlab(47.66, 60.88, -5.33)
CIE-LCHlch(47.66, 61.11, 355.00°)
OKLaboklab(57.34% 0.1867 -0.0133)
OKLCHoklch(57.34% 0.187 355.9)
XYZxyz(28.6563, 16.5271, 20.7459)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7397C #39C784
analogous
#C739C3 #C7397C #C73D39
triadic
#C7397C #7CC739 #397CC7
tetradic
#C7397C #C3C739 #39C784 #3D39C7
square
#C7397C #C3C739 #39C784 #3D39C7
split-complementary
#C7397C #39C73D #39C3C7
monochromatic
#681D41 #982B5E #C7397C #D4699C #E298BB

Accessibility & contrast

On white

4.88
#C7397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C7397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7397C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7397C#FFFFFF#000000##FFFFFF
##C7397C1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607E
Deuteranopia (green-blind)
#7B7B79
Tritanopia (blue-blind)
#D72A56
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c7397c;
/* rgb */ color: rgb(199, 57, 124);
/* oklch */ color: oklch(57.3% 0.187 355.9);
Tailwind
colors: {
  custom: {
    50: '#dd7ba1',
    500: '#c7397c',
    950: '#000000',
  },
}
SCSS
$custom: #c7397c;
$custom-light: #dd7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7397c",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 331.69,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.18717,
    "h": 355.9
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

primary
#C7397C
secondary
#8ECEB0
accent
#DF9849
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C7397C

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

Preview Lab → · Contrast checker → · Palette generator →

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