#C5316A#C5316A

#C5316A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.188 H 2.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C5316A
RGBrgb(197, 49, 106)
HSLhsl(337, 60%, 48%)
HSVhsv(337, 75%, 77%)
CMYKcmyk(0%, 75.1%, 46.2%, 22.7%)
CIE-LABlab(45.79, 61.26, 2.91)
CIE-LCHlch(45.79, 61.33, 2.72°)
OKLaboklab(55.72% 0.1878 0.0081)
OKLCHoklch(55.72% 0.188 2.5)
XYZxyz(26.7280, 15.1111, 15.1422)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5316A #31C58C
analogous
#C531B4 #C5316A #C54231
triadic
#C5316A #6AC531 #316AC5
tetradic
#C5316A #B4C531 #31C58C #4231C5
square
#C5316A #B4C531 #31C58C #4231C5
split-complementary
#C5316A #31C542 #31B4C5
monochromatic
#631935 #942550 #C5316A #D75D8C #E38EAE

Accessibility & contrast

On white

5.22
#C5316A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#C5316A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5316A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5316A#FFFFFF#000000##FFFFFF
##C5316A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545A6B
Deuteranopia (green-blind)
#7B7767
Tritanopia (blue-blind)
#D6124A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5316a;
/* rgb */ color: rgb(197, 49, 106);
/* oklch */ color: oklch(55.7% 0.188 2.5);
Tailwind
colors: {
  custom: {
    50: '#dc7694',
    500: '#c5316a',
    950: '#000000',
  },
}
SCSS
$custom: #c5316a;
$custom-light: #dc7694;
$custom-dark: #000000;
JSON
{
  "hex": "#c5316a",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 336.892,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.18796,
    "h": 2.5
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#C5316A
secondary
#85CDB1
accent
#E3A644
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5316A

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

Preview Lab → · Contrast checker → · Palette generator →

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