#C5396F#C5396F

#C5396F is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.6% C 0.181 H 1.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C5396F
RGBrgb(197, 57, 111)
HSLhsl(337, 55%, 50%)
HSVhsv(337, 71%, 77%)
CMYKcmyk(0%, 71.1%, 43.7%, 22.7%)
CIE-LABlab(46.91, 58.99, 1.46)
CIE-LCHlch(46.91, 59.01, 1.42°)
OKLaboklab(56.59% 0.1808 0.0044)
OKLCHoklch(56.59% 0.181 1.4)
XYZxyz(27.3604, 15.9477, 16.6733)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5396F #39C58F
analogous
#C539B5 #C5396F #C54939
triadic
#C5396F #6FC539 #396FC5
tetradic
#C5396F #B5C539 #39C58F #4939C5
square
#C5396F #B5C539 #39C58F #4939C5
split-complementary
#C5396F #39C549 #39B5C5
monochromatic
#661E3A #962B54 #C5396F #D36891 #E197B4

Accessibility & contrast

On white

5.01
#C5396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C5396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5396F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5396F#FFFFFF#000000##FFFFFF
##C5396F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E70
Deuteranopia (green-blind)
#7D796C
Tritanopia (blue-blind)
#D62450
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c5396f;
/* rgb */ color: rgb(197, 57, 111);
/* oklch */ color: oklch(56.6% 0.181 1.4);
Tailwind
colors: {
  custom: {
    50: '#dc7a98',
    500: '#c5396f',
    950: '#000000',
  },
}
SCSS
$custom: #c5396f;
$custom-light: #dc7a98;
$custom-dark: #000000;
JSON
{
  "hex": "#c5396f",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 336.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56588,
    "c": 0.1808,
    "h": 1.4
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#C5396F
secondary
#8DCDB4
accent
#DEA549
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5396F

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

Preview Lab → · Contrast checker → · Palette generator →

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