#C5316E#C5316E

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

Color values

HEX#C5316E
RGBrgb(197, 49, 110)
HSLhsl(335, 60%, 48%)
HSVhsv(335, 75%, 77%)
CMYKcmyk(0%, 75.1%, 44.2%, 22.7%)
CIE-LABlab(45.90, 61.63, 0.61)
CIE-LCHlch(45.90, 61.63, 0.57°)
OKLaboklab(55.84% 0.1891 0.0023)
OKLCHoklch(55.84% 0.189 0.7)
XYZxyz(26.9408, 15.1963, 16.2633)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5316E #31C588
analogous
#C531B8 #C5316E #C53E31
triadic
#C5316E #6EC531 #316EC5
tetradic
#C5316E #B8C531 #31C588 #3E31C5
square
#C5316E #B8C531 #31C588 #3E31C5
split-complementary
#C5316E #31C53E #31B8C5
monochromatic
#631937 #942553 #C5316E #D75D8F #E38EB1

Accessibility & contrast

On white

5.20
#C5316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5316E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5316E#FFFFFF#000000##FFFFFF
##C5316E1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B6F
Deuteranopia (green-blind)
#7A776B
Tritanopia (blue-blind)
#D6164B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5316e;
/* rgb */ color: rgb(197, 49, 110);
/* oklch */ color: oklch(55.8% 0.189 0.7);
Tailwind
colors: {
  custom: {
    50: '#dc7697',
    500: '#c5316e',
    950: '#000000',
  },
}
SCSS
$custom: #c5316e;
$custom-light: #dc7697;
$custom-dark: #000000;
JSON
{
  "hex": "#c5316e",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 335.27,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55839,
    "c": 0.18915,
    "h": 0.7
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5316E

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

Preview Lab → · Contrast checker → · Palette generator →

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