#C5397C#C5397C

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

Color values

HEX#C5397C
RGBrgb(197, 57, 124)
HSLhsl(331, 55%, 50%)
HSVhsv(331, 71%, 77%)
CMYKcmyk(0%, 71.1%, 37.1%, 22.7%)
CIE-LABlab(47.31, 60.33, -5.89)
CIE-LCHlch(47.31, 60.61, 354.42°)
OKLaboklab(57.02% 0.1849 -0.0148)
OKLCHoklch(57.02% 0.186 355.4)
XYZxyz(28.1290, 16.2552, 20.7211)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5397C #39C582
analogous
#C539C2 #C5397C #C53C39
triadic
#C5397C #7CC539 #397CC5
tetradic
#C5397C #C2C539 #39C582 #3C39C5
square
#C5397C #C2C539 #39C582 #3C39C5
split-complementary
#C5397C #39C53C #39C2C5
monochromatic
#661E40 #962B5E #C5397C #D3689B #E197BB

Accessibility & contrast

On white

4.94
#C5397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5397C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5397C#FFFFFF#000000##FFFFFF
##C5397C1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5397c;
/* rgb */ color: rgb(197, 57, 124);
/* oklch */ color: oklch(57.0% 0.186 355.4);
Tailwind
colors: {
  custom: {
    50: '#db7aa1',
    500: '#c5397c',
    950: '#000000',
  },
}
SCSS
$custom: #c5397c;
$custom-light: #db7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5397c",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 331.286,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.18552,
    "h": 355.4
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5397C

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

Preview Lab → · Contrast checker → · Palette generator →

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