#C5397F#C5397F

#C5397F is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.1% C 0.187 H 354.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C5397F
RGBrgb(197, 57, 127)
HSLhsl(330, 55%, 50%)
HSVhsv(330, 71%, 77%)
CMYKcmyk(0%, 71.1%, 35.5%, 22.7%)
CIE-LABlab(47.41, 60.65, -7.56)
CIE-LCHlch(47.41, 61.12, 352.89°)
OKLaboklab(57.12% 0.1858 -0.0192)
OKLCHoklch(57.12% 0.187 354.1)
XYZxyz(28.3216, 16.3322, 21.7355)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5397F #39C57F
analogous
#C539C5 #C5397F #C53939
triadic
#C5397F #7FC539 #397FC5
tetradic
#C5397F #C5C539 #39C57F #3939C5
square
#C5397F #C5C539 #39C57F #3939C5
split-complementary
#C5397F #39C539 #39C5C5
monochromatic
#661E42 #962B60 #C5397F #D3689E #E197BC

Accessibility & contrast

On white

4.92
#C5397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C5397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5397F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5397F#FFFFFF#000000##FFFFFF
##C5397F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526081
Deuteranopia (green-blind)
#797A7C
Tritanopia (blue-blind)
#D42C57
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5397f;
/* rgb */ color: rgb(197, 57, 127);
/* oklch */ color: oklch(57.1% 0.187 354.1);
Tailwind
colors: {
  custom: {
    50: '#db7aa4',
    500: '#c5397f',
    950: '#000000',
  },
}
SCSS
$custom: #c5397f;
$custom-light: #db7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c5397f",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 330,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57122,
    "c": 0.1868,
    "h": 354.1
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#C5397F
secondary
#8DCDAD
accent
#DE9449
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C5397F

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

Preview Lab → · Contrast checker → · Palette generator →

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