#C7397F#C7397F

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

Color values

HEX#C7397F
RGBrgb(199, 57, 127)
HSLhsl(330, 56%, 50%)
HSVhsv(330, 71%, 78%)
CMYKcmyk(0%, 71.4%, 36.2%, 22%)
CIE-LABlab(47.76, 61.21, -7.01)
CIE-LCHlch(47.76, 61.61, 353.47°)
OKLaboklab(57.44% 0.1876 -0.0177)
OKLCHoklch(57.44% 0.188 354.6)
XYZxyz(28.8489, 16.6041, 21.7603)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7397F #39C781
analogous
#C739C6 #C7397F #C73A39
triadic
#C7397F #7FC739 #397FC7
tetradic
#C7397F #C6C739 #39C781 #3A39C7
square
#C7397F #C6C739 #39C781 #3A39C7
split-complementary
#C7397F #39C73A #39C6C7
monochromatic
#681D42 #982B61 #C7397F #D4699E #E298BD

Accessibility & contrast

On white

4.86
#C7397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C7397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7397F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7397F#FFFFFF#000000##FFFFFF
##C7397F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536181
Deuteranopia (green-blind)
#7B7B7C
Tritanopia (blue-blind)
#D62B57
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c7397f;
/* rgb */ color: rgb(199, 57, 127);
/* oklch */ color: oklch(57.4% 0.188 354.6);
Tailwind
colors: {
  custom: {
    50: '#dd7ba4',
    500: '#c7397f',
    950: '#000000',
  },
}
SCSS
$custom: #c7397f;
$custom-light: #dd7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#c7397f",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 330.423,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57444,
    "c": 0.18843,
    "h": 354.6
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#C7397F
secondary
#8ECEAE
accent
#DF9549
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C7397F

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

Preview Lab → · Contrast checker → · Palette generator →

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