#C5317C#C5317C

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

Color values

HEX#C5317C
RGBrgb(197, 49, 124)
HSLhsl(330, 60%, 48%)
HSVhsv(330, 75%, 77%)
CMYKcmyk(0%, 75.1%, 37.1%, 22.7%)
CIE-LABlab(46.35, 63.02, -7.32)
CIE-LCHlch(46.35, 63.45, 353.37°)
OKLaboklab(56.31% 0.1935 -0.0185)
OKLCHoklch(56.31% 0.194 354.5)
XYZxyz(27.7642, 15.5256, 20.5995)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5317C #31C57A
analogous
#C431C5 #C5317C #C53132
triadic
#C5317C #7CC531 #317CC5
tetradic
#C5317C #C5C431 #31C57A #3132C5
square
#C5317C #C5C431 #31C57A #3132C5
split-complementary
#C5317C #32C531 #31C5C4
monochromatic
#63193E #94255D #C5317C #D75D9A #E38EB9

Accessibility & contrast

On white

5.12
#C5317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C5317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5317C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5317C#FFFFFF#000000##FFFFFF
##C5317C1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7E
Deuteranopia (green-blind)
#777879
Tritanopia (blue-blind)
#D52052
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5317c;
/* rgb */ color: rgb(197, 49, 124);
/* oklch */ color: oklch(56.3% 0.194 354.5);
Tailwind
colors: {
  custom: {
    50: '#dc77a1',
    500: '#c5317c',
    950: '#000000',
  },
}
SCSS
$custom: #c5317c;
$custom-light: #dc77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5317c",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 329.595,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.19437,
    "h": 354.5
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5317C

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

Preview Lab → · Contrast checker → · Palette generator →

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