#C5316C#C5316C

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

Color values

HEX#C5316C
RGBrgb(197, 49, 108)
HSLhsl(336, 60%, 48%)
HSVhsv(336, 75%, 77%)
CMYKcmyk(0%, 75.1%, 45.2%, 22.7%)
CIE-LABlab(45.84, 61.44, 1.76)
CIE-LCHlch(45.84, 61.46, 1.64°)
OKLaboklab(55.78% 0.1885 0.0052)
OKLCHoklch(55.78% 0.189 1.6)
XYZxyz(26.8332, 15.1532, 15.6963)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5316C #31C58A
analogous
#C531B6 #C5316C #C54031
triadic
#C5316C #6CC531 #316CC5
tetradic
#C5316C #B6C531 #31C58A #4031C5
square
#C5316C #B6C531 #31C58A #4031C5
split-complementary
#C5316C #31C540 #31B6C5
monochromatic
#631936 #942551 #C5316C #D75D8D #E38EB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5316C#FFFFFF#000000##FFFFFF
##C5316C1.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)
#535A6D
Deuteranopia (green-blind)
#7B7769
Tritanopia (blue-blind)
#D6144B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5316c;
/* rgb */ color: rgb(197, 49, 108);
/* oklch */ color: oklch(55.8% 0.189 1.6);
Tailwind
colors: {
  custom: {
    50: '#dc7695',
    500: '#c5316c',
    950: '#000000',
  },
}
SCSS
$custom: #c5316c;
$custom-light: #dc7695;
$custom-dark: #000000;
JSON
{
  "hex": "#c5316c",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 336.081,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.18853,
    "h": 1.6
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

primary
#C5316C
secondary
#85CDB0
accent
#E3A444
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5316C

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

Preview Lab → · Contrast checker → · Palette generator →

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