#C5316F#C5316F

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

Color values

HEX#C5316F
RGBrgb(197, 49, 111)
HSLhsl(335, 60%, 48%)
HSVhsv(335, 75%, 77%)
CMYKcmyk(0%, 75.1%, 43.7%, 22.7%)
CIE-LABlab(45.93, 61.72, 0.04)
CIE-LCHlch(45.93, 61.72, 0.04°)
OKLaboklab(55.87% 0.1895 0.0008)
OKLCHoklch(55.87% 0.189 0.2)
XYZxyz(26.9956, 15.2182, 16.5517)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5316F #31C587
analogous
#C531B9 #C5316F #C53D31
triadic
#C5316F #6FC531 #316FC5
tetradic
#C5316F #B9C531 #31C587 #3D31C5
square
#C5316F #B9C531 #31C587 #3D31C5
split-complementary
#C5316F #31C53D #31B9C5
monochromatic
#631938 #942553 #C5316F #D75D90 #E38EB1

Accessibility & contrast

On white

5.19
#C5316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#C5316F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5316F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5316F#FFFFFF#000000##FFFFFF
##C5316F1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B71
Deuteranopia (green-blind)
#7A776C
Tritanopia (blue-blind)
#D6164C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5316f;
/* rgb */ color: rgb(197, 49, 111);
/* oklch */ color: oklch(55.9% 0.189 0.2);
Tailwind
colors: {
  custom: {
    50: '#dc7798',
    500: '#c5316f',
    950: '#000000',
  },
}
SCSS
$custom: #c5316f;
$custom-light: #dc7798;
$custom-dark: #000000;
JSON
{
  "hex": "#c5316f",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 334.865,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.18947,
    "h": 0.2
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#C5316F
secondary
#85CDAF
accent
#E3A144
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5316F

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

Preview Lab → · Contrast checker → · Palette generator →

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