#C5386F#C5386F

#C5386F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.5% C 0.182 H 1.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C5386F
RGBrgb(197, 56, 111)
HSLhsl(337, 56%, 50%)
HSVhsv(337, 72%, 77%)
CMYKcmyk(0%, 71.6%, 43.7%, 22.7%)
CIE-LABlab(46.78, 59.35, 1.27)
CIE-LCHlch(46.78, 59.37, 1.23°)
OKLaboklab(56.49% 0.1819 0.004)
OKLCHoklch(56.49% 0.182 1.2)
XYZxyz(27.3114, 15.8498, 16.6570)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5386F #38C58E
analogous
#C538B5 #C5386F #C54838
triadic
#C5386F #6FC538 #386FC5
tetradic
#C5386F #B5C538 #38C58E #4838C5
square
#C5386F #B5C538 #38C58E #4838C5
split-complementary
#C5386F #38C548 #38B5C5
monochromatic
#661D39 #952A54 #C5386F #D46791 #E196B3

Accessibility & contrast

On white

5.04
#C5386F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C5386F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5386F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5386F#FFFFFF#000000##FFFFFF
##C5386F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E70
Deuteranopia (green-blind)
#7C796C
Tritanopia (blue-blind)
#D6234F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c5386f;
/* rgb */ color: rgb(197, 56, 111);
/* oklch */ color: oklch(56.5% 0.182 1.2);
Tailwind
colors: {
  custom: {
    50: '#dc7a98',
    500: '#c5386f',
    950: '#000000',
  },
}
SCSS
$custom: #c5386f;
$custom-light: #dc7a98;
$custom-dark: #000000;
JSON
{
  "hex": "#c5386f",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 336.596,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.18194,
    "h": 1.2
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#C5386F
secondary
#8CCDB3
accent
#DFA449
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5386F

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

Preview Lab → · Contrast checker → · Palette generator →

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