#C5387F#C5387F

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

Color values

HEX#C5387F
RGBrgb(197, 56, 127)
HSLhsl(330, 56%, 50%)
HSVhsv(330, 72%, 77%)
CMYKcmyk(0%, 71.6%, 35.5%, 22.7%)
CIE-LABlab(47.28, 61.01, -7.75)
CIE-LCHlch(47.28, 61.50, 352.76°)
OKLaboklab(57.03% 0.1869 -0.0197)
OKLCHoklch(57.03% 0.188 354)
XYZxyz(28.2726, 16.2343, 21.7192)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5387F #38C57E
analogous
#C438C5 #C5387F #C53839
triadic
#C5387F #7FC538 #387FC5
tetradic
#C5387F #C5C438 #38C57E #3839C5
square
#C5387F #C5C438 #38C57E #3839C5
split-complementary
#C5387F #39C538 #38C5C4
monochromatic
#661D42 #952A60 #C5387F #D4679D #E196BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5387F#FFFFFF#000000##FFFFFF
##C5387F1.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)
#516081
Deuteranopia (green-blind)
#797A7C
Tritanopia (blue-blind)
#D42B57
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5387f;
/* rgb */ color: rgb(197, 56, 127);
/* oklch */ color: oklch(57.0% 0.188 354.0);
Tailwind
colors: {
  custom: {
    50: '#db7aa4',
    500: '#c5387f',
    950: '#000000',
  },
}
SCSS
$custom: #c5387f;
$custom-light: #db7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c5387f",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 329.787,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.18797,
    "h": 354
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

primary
#C5387F
secondary
#8CCDAC
accent
#DF9349
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C5387F

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

Preview Lab → · Contrast checker → · Palette generator →

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