#C5387D#C5387D

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

Color values

HEX#C5387D
RGBrgb(197, 56, 125)
HSLhsl(331, 56%, 50%)
HSVhsv(331, 72%, 77%)
CMYKcmyk(0%, 71.6%, 36.5%, 22.7%)
CIE-LABlab(47.21, 60.79, -6.64)
CIE-LCHlch(47.21, 61.15, 353.77°)
OKLaboklab(56.96% 0.1863 -0.0167)
OKLCHoklch(56.96% 0.187 354.9)
XYZxyz(28.1436, 16.1827, 21.0396)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5387D #38C580
analogous
#C538C4 #C5387D #C53938
triadic
#C5387D #7DC538 #387DC5
tetradic
#C5387D #C4C538 #38C580 #3938C5
square
#C5387D #C4C538 #38C580 #3938C5
split-complementary
#C5387D #38C539 #38C4C5
monochromatic
#661D41 #952A5F #C5387D #D4679C #E196BB

Accessibility & contrast

On white

4.96
#C5387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C5387D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5387D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5387D#FFFFFF#000000##FFFFFF
##C5387D1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7F
Deuteranopia (green-blind)
#79797A
Tritanopia (blue-blind)
#D42A56
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5387d;
/* rgb */ color: rgb(197, 56, 125);
/* oklch */ color: oklch(57.0% 0.187 354.9);
Tailwind
colors: {
  custom: {
    50: '#db7aa2',
    500: '#c5387d',
    950: '#000000',
  },
}
SCSS
$custom: #c5387d;
$custom-light: #db7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c5387d",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 330.638,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.1871,
    "h": 354.9
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#C5387D
secondary
#8CCDAD
accent
#DF9549
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C5387D

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

Preview Lab → · Contrast checker → · Palette generator →

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