#C5387A#C5387A

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

Color values

HEX#C5387A
RGBrgb(197, 56, 122)
HSLhsl(332, 56%, 50%)
HSVhsv(332, 72%, 77%)
CMYKcmyk(0%, 71.6%, 38.1%, 22.7%)
CIE-LABlab(47.11, 60.47, -4.96)
CIE-LCHlch(47.11, 60.67, 355.31°)
OKLaboklab(56.85% 0.1855 -0.0123)
OKLCHoklch(56.85% 0.186 356.2)
XYZxyz(27.9548, 16.1072, 20.0455)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5387A #38C583
analogous
#C538C1 #C5387A #C53D38
triadic
#C5387A #7AC538 #387AC5
tetradic
#C5387A #C1C538 #38C583 #3D38C5
square
#C5387A #C1C538 #38C583 #3D38C5
split-complementary
#C5387A #38C53D #38C1C5
monochromatic
#661D3F #952A5C #C5387A #D4679A #E196B9

Accessibility & contrast

On white

4.98
#C5387A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C5387A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5387A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5387A#FFFFFF#000000##FFFFFF
##C5387A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7C
Deuteranopia (green-blind)
#7A7977
Tritanopia (blue-blind)
#D52954
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5387a;
/* rgb */ color: rgb(197, 56, 122);
/* oklch */ color: oklch(56.9% 0.186 356.2);
Tailwind
colors: {
  custom: {
    50: '#db7aa0',
    500: '#c5387a',
    950: '#000000',
  },
}
SCSS
$custom: #c5387a;
$custom-light: #db7aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#c5387a",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 331.915,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.18586,
    "h": 356.2
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5387A

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

Preview Lab → · Contrast checker → · Palette generator →

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