#C5386B#C5386B

#C5386B is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.4% C 0.181 H 3.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C5386B
RGBrgb(197, 56, 107)
HSLhsl(338, 56%, 50%)
HSVhsv(338, 72%, 77%)
CMYKcmyk(0%, 71.6%, 45.7%, 22.7%)
CIE-LABlab(46.66, 58.97, 3.56)
CIE-LCHlch(46.66, 59.08, 3.45°)
OKLaboklab(56.37% 0.1805 0.0098)
OKLCHoklch(56.37% 0.181 3.1)
XYZxyz(27.0961, 15.7637, 15.5229)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5386B #38C592
analogous
#C538B2 #C5386B #C54C38
triadic
#C5386B #6BC538 #386BC5
tetradic
#C5386B #B2C538 #38C592 #4C38C5
square
#C5386B #B2C538 #38C592 #4C38C5
split-complementary
#C5386B #38C54C #38B2C5
monochromatic
#661D37 #952A51 #C5386B #D4678E #E196B1

Accessibility & contrast

On white

5.06
#C5386B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C5386B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5386B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5386B#FFFFFF#000000##FFFFFF
##C5386B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585D6C
Deuteranopia (green-blind)
#7D7968
Tritanopia (blue-blind)
#D6204D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c5386b;
/* rgb */ color: rgb(197, 56, 107);
/* oklch */ color: oklch(56.4% 0.181 3.1);
Tailwind
colors: {
  custom: {
    50: '#dc7995',
    500: '#c5386b',
    950: '#000000',
  },
}
SCSS
$custom: #c5386b;
$custom-light: #dc7995;
$custom-dark: #000000;
JSON
{
  "hex": "#c5386b",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 338.298,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56372,
    "c": 0.18079,
    "h": 3.1
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#C5386B
secondary
#8CCDB5
accent
#DFA949
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5386B

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

Preview Lab → · Contrast checker → · Palette generator →

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