#C5397E#C5397E

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

Color values

HEX#C5397E
RGBrgb(197, 57, 126)
HSLhsl(330, 55%, 50%)
HSVhsv(330, 71%, 77%)
CMYKcmyk(0%, 71.1%, 36%, 22.7%)
CIE-LABlab(47.37, 60.54, -7.01)
CIE-LCHlch(47.37, 60.95, 353.40°)
OKLaboklab(57.09% 0.1855 -0.0177)
OKLCHoklch(57.09% 0.186 354.5)
XYZxyz(28.2567, 16.3063, 21.3940)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5397E #39C580
analogous
#C539C4 #C5397E #C53A39
triadic
#C5397E #7EC539 #397EC5
tetradic
#C5397E #C4C539 #39C580 #3A39C5
square
#C5397E #C4C539 #39C580 #3A39C5
split-complementary
#C5397E #39C53A #39C4C5
monochromatic
#661E41 #962B60 #C5397E #D3689D #E197BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5397E#FFFFFF#000000##FFFFFF
##C5397E1.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)
#526080
Deuteranopia (green-blind)
#797A7B
Tritanopia (blue-blind)
#D42C57
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5397e;
/* rgb */ color: rgb(197, 57, 126);
/* oklch */ color: oklch(57.1% 0.186 354.5);
Tailwind
colors: {
  custom: {
    50: '#db7aa3',
    500: '#c5397e',
    950: '#000000',
  },
}
SCSS
$custom: #c5397e;
$custom-light: #db7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c5397e",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 330.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.18637,
    "h": 354.5
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#C5397E
secondary
#8DCDAD
accent
#DE9549
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C5397E

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

Preview Lab → · Contrast checker → · Palette generator →

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