#C5387C#C5387C

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

Color values

HEX#C5387C
RGBrgb(197, 56, 124)
HSLhsl(331, 56%, 50%)
HSVhsv(331, 72%, 77%)
CMYKcmyk(0%, 71.6%, 37.1%, 22.7%)
CIE-LABlab(47.18, 60.68, -6.08)
CIE-LCHlch(47.18, 60.98, 354.28°)
OKLaboklab(56.92% 0.1861 -0.0153)
OKLCHoklch(56.92% 0.187 355.3)
XYZxyz(28.0800, 16.1573, 20.7048)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5387C #38C581
analogous
#C538C2 #C5387C #C53B38
triadic
#C5387C #7CC538 #387CC5
tetradic
#C5387C #C2C538 #38C581 #3B38C5
square
#C5387C #C2C538 #38C581 #3B38C5
split-complementary
#C5387C #38C53B #38C2C5
monochromatic
#661D40 #952A5E #C5387C #D4679B #E196BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5387C#FFFFFF#000000##FFFFFF
##C5387C1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7E
Deuteranopia (green-blind)
#7A7979
Tritanopia (blue-blind)
#D52A55
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5387c;
/* rgb */ color: rgb(197, 56, 124);
/* oklch */ color: oklch(56.9% 0.187 355.3);
Tailwind
colors: {
  custom: {
    50: '#db7aa1',
    500: '#c5387c',
    950: '#000000',
  },
}
SCSS
$custom: #c5387c;
$custom-light: #db7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5387c",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 331.064,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.18668,
    "h": 355.3
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#C5387C
secondary
#8CCDAE
accent
#DF9749
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C5387C

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

Preview Lab → · Contrast checker → · Palette generator →

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