#C5397D#C5397D

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

Color values

HEX#C5397D
RGBrgb(197, 57, 125)
HSLhsl(331, 55%, 50%)
HSVhsv(331, 71%, 77%)
CMYKcmyk(0%, 71.1%, 36.5%, 22.7%)
CIE-LABlab(47.34, 60.43, -6.45)
CIE-LCHlch(47.34, 60.78, 353.91°)
OKLaboklab(57.05% 0.1852 -0.0162)
OKLCHoklch(57.05% 0.186 355)
XYZxyz(28.1925, 16.2806, 21.0559)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5397D #39C581
analogous
#C539C3 #C5397D #C53B39
triadic
#C5397D #7DC539 #397DC5
tetradic
#C5397D #C3C539 #39C581 #3B39C5
square
#C5397D #C3C539 #39C581 #3B39C5
split-complementary
#C5397D #39C53B #39C3C5
monochromatic
#661E41 #962B5F #C5397D #D3689C #E197BB

Accessibility & contrast

On white

4.93
#C5397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C5397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5397D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5397D#FFFFFF#000000##FFFFFF
##C5397D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607F
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#D42B56
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5397d;
/* rgb */ color: rgb(197, 57, 125);
/* oklch */ color: oklch(57.1% 0.186 355.0);
Tailwind
colors: {
  custom: {
    50: '#db7aa2',
    500: '#c5397d',
    950: '#000000',
  },
}
SCSS
$custom: #c5397d;
$custom-light: #db7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c5397d",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 330.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.18594,
    "h": 355
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#C5397D
secondary
#8DCDAE
accent
#DE9649
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C5397D

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

Preview Lab → · Contrast checker → · Palette generator →

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