#C5396D#C5396D

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

Color values

HEX#C5396D
RGBrgb(197, 57, 109)
HSLhsl(338, 55%, 50%)
HSVhsv(338, 71%, 77%)
CMYKcmyk(0%, 71.1%, 44.7%, 22.7%)
CIE-LABlab(46.85, 58.80, 2.60)
CIE-LCHlch(46.85, 58.86, 2.53°)
OKLaboklab(56.53% 0.1801 0.0074)
OKLCHoklch(56.53% 0.18 2.3)
XYZxyz(27.2515, 15.9042, 16.0998)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5396D #39C591
analogous
#C539B3 #C5396D #C54B39
triadic
#C5396D #6DC539 #396DC5
tetradic
#C5396D #B3C539 #39C591 #4B39C5
square
#C5396D #B3C539 #39C591 #4B39C5
split-complementary
#C5396D #39C54B #39B3C5
monochromatic
#661E38 #962B53 #C5396D #D36890 #E197B3

Accessibility & contrast

On white

5.02
#C5396D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C5396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5396D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5396D#FFFFFF#000000##FFFFFF
##C5396D1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585E6E
Deuteranopia (green-blind)
#7D796A
Tritanopia (blue-blind)
#D6234F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c5396d;
/* rgb */ color: rgb(197, 57, 109);
/* oklch */ color: oklch(56.5% 0.180 2.3);
Tailwind
colors: {
  custom: {
    50: '#dc7a96',
    500: '#c5396d',
    950: '#000000',
  },
}
SCSS
$custom: #c5396d;
$custom-light: #dc7a96;
$custom-dark: #000000;
JSON
{
  "hex": "#c5396d",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 337.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.18021,
    "h": 2.3
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#C5396D
secondary
#8DCDB5
accent
#DEA749
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5396D

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

Preview Lab → · Contrast checker → · Palette generator →

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