#C5387B#C5387B

#C5387B is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.9% C 0.186 H 355.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C5387B
RGBrgb(197, 56, 123)
HSLhsl(331, 56%, 50%)
HSVhsv(331, 72%, 77%)
CMYKcmyk(0%, 71.6%, 37.6%, 22.7%)
CIE-LABlab(47.15, 60.57, -5.52)
CIE-LCHlch(47.15, 60.82, 354.79°)
OKLaboklab(56.89% 0.1858 -0.0138)
OKLCHoklch(56.89% 0.186 355.8)
XYZxyz(28.0171, 16.1321, 20.3735)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5387B #38C582
analogous
#C538C2 #C5387B #C53B38
triadic
#C5387B #7BC538 #387BC5
tetradic
#C5387B #C2C538 #38C582 #3B38C5
square
#C5387B #C2C538 #38C582 #3B38C5
split-complementary
#C5387B #38C53B #38C2C5
monochromatic
#661D3F #952A5D #C5387B #D4679A #E196BA

Accessibility & contrast

On white

4.97
#C5387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C5387B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5387B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5387B#FFFFFF#000000##FFFFFF
##C5387B1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7D
Deuteranopia (green-blind)
#7A7978
Tritanopia (blue-blind)
#D52955
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5387b;
/* rgb */ color: rgb(197, 56, 123);
/* oklch */ color: oklch(56.9% 0.186 355.8);
Tailwind
colors: {
  custom: {
    50: '#db7aa1',
    500: '#c5387b',
    950: '#000000',
  },
}
SCSS
$custom: #c5387b;
$custom-light: #db7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5387b",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 331.489,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.18627,
    "h": 355.8
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#C5387B
secondary
#8CCDAE
accent
#DF9849
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C5387B

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

Preview Lab → · Contrast checker → · Palette generator →

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