#C5396B#C5396B

#C5396B is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.5% C 0.180 H 3.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C5396B
RGBrgb(197, 57, 107)
HSLhsl(339, 55%, 50%)
HSVhsv(339, 71%, 77%)
CMYKcmyk(0%, 71.1%, 45.7%, 22.7%)
CIE-LABlab(46.79, 58.61, 3.75)
CIE-LCHlch(46.79, 58.73, 3.66°)
OKLaboklab(56.47% 0.1794 0.0103)
OKLCHoklch(56.47% 0.18 3.3)
XYZxyz(27.1451, 15.8616, 15.5392)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5396B #39C593
analogous
#C539B1 #C5396B #C54D39
triadic
#C5396B #6BC539 #396BC5
tetradic
#C5396B #B1C539 #39C593 #4D39C5
square
#C5396B #B1C539 #39C593 #4D39C5
split-complementary
#C5396B #39C54D #39B1C5
monochromatic
#661E37 #962B51 #C5396B #D3688E #E197B2

Accessibility & contrast

On white

5.03
#C5396B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C5396B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5396B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5396B#FFFFFF#000000##FFFFFF
##C5396B1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585D6C
Deuteranopia (green-blind)
#7D7968
Tritanopia (blue-blind)
#D6224E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c5396b;
/* rgb */ color: rgb(197, 57, 107);
/* oklch */ color: oklch(56.5% 0.180 3.3);
Tailwind
colors: {
  custom: {
    50: '#dc7a95',
    500: '#c5396b',
    950: '#000000',
  },
}
SCSS
$custom: #c5396b;
$custom-light: #dc7a95;
$custom-dark: #000000;
JSON
{
  "hex": "#c5396b",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 338.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.17966,
    "h": 3.3
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#C5396B
secondary
#8DCDB6
accent
#DEA949
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5396B

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

Preview Lab → · Contrast checker → · Palette generator →

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