#C5316D#C5316D

#C5316D is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.189 H 1.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C5316D
RGBrgb(197, 49, 109)
HSLhsl(336, 60%, 48%)
HSVhsv(336, 75%, 77%)
CMYKcmyk(0%, 75.1%, 44.7%, 22.7%)
CIE-LABlab(45.87, 61.53, 1.18)
CIE-LCHlch(45.87, 61.54, 1.10°)
OKLaboklab(55.81% 0.1888 0.0037)
OKLCHoklch(55.81% 0.189 1.1)
XYZxyz(26.8867, 15.1746, 15.9782)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5316D #31C589
analogous
#C531B7 #C5316D #C53F31
triadic
#C5316D #6DC531 #316DC5
tetradic
#C5316D #B7C531 #31C589 #3F31C5
square
#C5316D #B7C531 #31C589 #3F31C5
split-complementary
#C5316D #31C53F #31B7C5
monochromatic
#631937 #942552 #C5316D #D75D8E #E38EB0

Accessibility & contrast

On white

5.21
#C5316D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5316D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5316D#FFFFFF#000000##FFFFFF
##C5316D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6E
Deuteranopia (green-blind)
#7B776A
Tritanopia (blue-blind)
#D6154B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5316d;
/* rgb */ color: rgb(197, 49, 109);
/* oklch */ color: oklch(55.8% 0.189 1.1);
Tailwind
colors: {
  custom: {
    50: '#dc7696',
    500: '#c5316d',
    950: '#000000',
  },
}
SCSS
$custom: #c5316d;
$custom-light: #dc7696;
$custom-dark: #000000;
JSON
{
  "hex": "#c5316d",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 335.676,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.18884,
    "h": 1.1
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#C5316D
secondary
#85CDB0
accent
#E3A344
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5316D

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

Preview Lab → · Contrast checker → · Palette generator →

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