#C5397B#C5397B

#C5397B is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.185 H 355.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C5397B
RGBrgb(197, 57, 123)
HSLhsl(332, 55%, 50%)
HSVhsv(332, 71%, 77%)
CMYKcmyk(0%, 71.1%, 37.6%, 22.7%)
CIE-LABlab(47.27, 60.22, -5.33)
CIE-LCHlch(47.27, 60.45, 354.94°)
OKLaboklab(56.98% 0.1846 -0.0133)
OKLCHoklch(56.98% 0.185 355.9)
XYZxyz(28.0660, 16.2300, 20.3898)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5397B #39C583
analogous
#C539C1 #C5397B #C53D39
triadic
#C5397B #7BC539 #397BC5
tetradic
#C5397B #C1C539 #39C583 #3D39C5
square
#C5397B #C1C539 #39C583 #3D39C5
split-complementary
#C5397B #39C53D #39C1C5
monochromatic
#661E40 #962B5D #C5397B #D3689B #E197BA

Accessibility & contrast

On white

4.95
#C5397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C5397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5397B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5397B#FFFFFF#000000##FFFFFF
##C5397B1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607D
Deuteranopia (green-blind)
#7A7A78
Tritanopia (blue-blind)
#D52A55
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5397b;
/* rgb */ color: rgb(197, 57, 123);
/* oklch */ color: oklch(57.0% 0.185 355.9);
Tailwind
colors: {
  custom: {
    50: '#db7aa1',
    500: '#c5397b',
    950: '#000000',
  },
}
SCSS
$custom: #c5397b;
$custom-light: #db7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5397b",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 331.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.18511,
    "h": 355.9
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#C5397B
secondary
#8DCDAF
accent
#DE9849
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C5397B

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

Preview Lab → · Contrast checker → · Palette generator →

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