#C5317E#C5317E

#C5317E is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.195 H 353.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C5317E
RGBrgb(197, 49, 126)
HSLhsl(329, 60%, 48%)
HSVhsv(329, 75%, 77%)
CMYKcmyk(0%, 75.1%, 36%, 22.7%)
CIE-LABlab(46.41, 63.24, -8.44)
CIE-LCHlch(46.41, 63.80, 352.40°)
OKLaboklab(56.38% 0.1941 -0.0215)
OKLCHoklch(56.38% 0.195 353.7)
XYZxyz(27.8919, 15.5767, 21.2724)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5317E #31C578
analogous
#C231C5 #C5317E #C53134
triadic
#C5317E #7EC531 #317EC5
tetradic
#C5317E #C5C231 #31C578 #3134C5
square
#C5317E #C5C231 #31C578 #3134C5
split-complementary
#C5317E #34C531 #31C5C2
monochromatic
#63193F #94255F #C5317E #D75D9C #E38EBA

Accessibility & contrast

On white

5.10
#C5317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5317E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5317E#FFFFFF#000000##FFFFFF
##C5317E1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D80
Deuteranopia (green-blind)
#77787B
Tritanopia (blue-blind)
#D42253
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5317e;
/* rgb */ color: rgb(197, 49, 126);
/* oklch */ color: oklch(56.4% 0.195 353.7);
Tailwind
colors: {
  custom: {
    50: '#dc77a3',
    500: '#c5317e',
    950: '#000000',
  },
}
SCSS
$custom: #c5317e;
$custom-light: #dc77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c5317e",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 328.784,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56383,
    "c": 0.19524,
    "h": 353.7
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#C5317E
secondary
#85CDA7
accent
#E39144
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C5317E

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

Preview Lab → · Contrast checker → · Palette generator →

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