#C5316B#C5316B

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

Color values

HEX#C5316B
RGBrgb(197, 49, 107)
HSLhsl(336, 60%, 48%)
HSVhsv(336, 75%, 77%)
CMYKcmyk(0%, 75.1%, 45.7%, 22.7%)
CIE-LABlab(45.81, 61.35, 2.33)
CIE-LCHlch(45.81, 61.39, 2.18°)
OKLaboklab(55.75% 0.1881 0.0067)
OKLCHoklch(55.75% 0.188 2)
XYZxyz(26.7803, 15.1320, 15.4176)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5316B #31C58B
analogous
#C531B5 #C5316B #C54131
triadic
#C5316B #6BC531 #316BC5
tetradic
#C5316B #B5C531 #31C58B #4131C5
square
#C5316B #B5C531 #31C58B #4131C5
split-complementary
#C5316B #31C541 #31B5C5
monochromatic
#631936 #942550 #C5316B #D75D8C #E38EAF

Accessibility & contrast

On white

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

On black

4.03
#C5316B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5316B#FFFFFF#000000##FFFFFF
##C5316B1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6C
Deuteranopia (green-blind)
#7B7768
Tritanopia (blue-blind)
#D6134A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5316b;
/* rgb */ color: rgb(197, 49, 107);
/* oklch */ color: oklch(55.7% 0.188 2.0);
Tailwind
colors: {
  custom: {
    50: '#dc7695',
    500: '#c5316b',
    950: '#000000',
  },
}
SCSS
$custom: #c5316b;
$custom-light: #dc7695;
$custom-dark: #000000;
JSON
{
  "hex": "#c5316b",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 336.486,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55747,
    "c": 0.18824,
    "h": 2
  },
  "luminance": 0.15128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5316B

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

Preview Lab → · Contrast checker → · Palette generator →

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