#C5317A#C5317A

#C5317A is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.194 H 355.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C5317A
RGBrgb(197, 49, 122)
HSLhsl(330, 60%, 48%)
HSVhsv(330, 75%, 77%)
CMYKcmyk(0%, 75.1%, 38.1%, 22.7%)
CIE-LABlab(46.28, 62.81, -6.20)
CIE-LCHlch(46.28, 63.12, 354.36°)
OKLaboklab(56.24% 0.1929 -0.0155)
OKLCHoklch(56.24% 0.194 355.4)
XYZxyz(27.6390, 15.4755, 19.9402)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5317A #31C57C
analogous
#C531C4 #C5317A #C53231
triadic
#C5317A #7AC531 #317AC5
tetradic
#C5317A #C4C531 #31C57C #3231C5
square
#C5317A #C4C531 #31C57C #3231C5
split-complementary
#C5317A #31C532 #31C4C5
monochromatic
#63193D #94255C #C5317A #D75D99 #E38EB8

Accessibility & contrast

On white

5.13
#C5317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C5317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5317A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5317A#FFFFFF#000000##FFFFFF
##C5317A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7C
Deuteranopia (green-blind)
#787877
Tritanopia (blue-blind)
#D51F51
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5317a;
/* rgb */ color: rgb(197, 49, 122);
/* oklch */ color: oklch(56.2% 0.194 355.4);
Tailwind
colors: {
  custom: {
    50: '#dc77a0',
    500: '#c5317a',
    950: '#000000',
  },
}
SCSS
$custom: #c5317a;
$custom-light: #dc77a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c5317a",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 330.405,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.19353,
    "h": 355.4
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#C5317A
secondary
#85CDA9
accent
#E39544
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C5317A

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

Preview Lab → · Contrast checker → · Palette generator →

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