#C5317D#C5317D

#C5317D is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.195 H 354.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C5317D
RGBrgb(197, 49, 125)
HSLhsl(329, 60%, 48%)
HSVhsv(329, 75%, 77%)
CMYKcmyk(0%, 75.1%, 36.5%, 22.7%)
CIE-LABlab(46.38, 63.13, -7.88)
CIE-LCHlch(46.38, 63.62, 352.88°)
OKLaboklab(56.35% 0.1938 -0.02)
OKLCHoklch(56.35% 0.195 354.1)
XYZxyz(27.8277, 15.5510, 20.9343)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5317D #31C579
analogous
#C331C5 #C5317D #C53133
triadic
#C5317D #7DC531 #317DC5
tetradic
#C5317D #C5C331 #31C579 #3133C5
square
#C5317D #C5C331 #31C579 #3133C5
split-complementary
#C5317D #33C531 #31C5C3
monochromatic
#63193F #94255E #C5317D #D75D9B #E38EB9

Accessibility & contrast

On white

5.11
#C5317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C5317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5317D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5317D#FFFFFF#000000##FFFFFF
##C5317D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#77787A
Tritanopia (blue-blind)
#D52153
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5317d;
/* rgb */ color: rgb(197, 49, 125);
/* oklch */ color: oklch(56.3% 0.195 354.1);
Tailwind
colors: {
  custom: {
    50: '#dc77a2',
    500: '#c5317d',
    950: '#000000',
  },
}
SCSS
$custom: #c5317d;
$custom-light: #dc77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c5317d",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 329.189,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.1948,
    "h": 354.1
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#C5317D
secondary
#85CDA8
accent
#E39244
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C5317D

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

Preview Lab → · Contrast checker → · Palette generator →

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