#C5387E#C5387E

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

Color values

HEX#C5387E
RGBrgb(197, 56, 126)
HSLhsl(330, 56%, 50%)
HSVhsv(330, 72%, 77%)
CMYKcmyk(0%, 71.6%, 36%, 22.7%)
CIE-LABlab(47.25, 60.90, -7.20)
CIE-LCHlch(47.25, 61.32, 353.26°)
OKLaboklab(56.99% 0.1866 -0.0182)
OKLCHoklch(56.99% 0.188 354.4)
XYZxyz(28.2078, 16.2084, 21.3777)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5387E #38C57F
analogous
#C538C4 #C5387E #C53938
triadic
#C5387E #7EC538 #387EC5
tetradic
#C5387E #C4C538 #38C57F #3938C5
square
#C5387E #C4C538 #38C57F #3938C5
split-complementary
#C5387E #38C539 #38C4C5
monochromatic
#661D41 #952A60 #C5387E #D4679D #E196BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5387E#FFFFFF#000000##FFFFFF
##C5387E1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526080
Deuteranopia (green-blind)
#79797B
Tritanopia (blue-blind)
#D42B56
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5387e;
/* rgb */ color: rgb(197, 56, 126);
/* oklch */ color: oklch(57.0% 0.188 354.4);
Tailwind
colors: {
  custom: {
    50: '#db7aa3',
    500: '#c5387e',
    950: '#000000',
  },
}
SCSS
$custom: #c5387e;
$custom-light: #db7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c5387e",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 330.213,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.18753,
    "h": 354.4
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#C5387E
secondary
#8CCDAD
accent
#DF9449
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C5387E

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

Preview Lab → · Contrast checker → · Palette generator →

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