#C5319F#C5319F

#C5319F is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.8% C 0.213 H 340.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C5319F
RGBrgb(197, 49, 159)
HSLhsl(315, 60%, 48%)
HSVhsv(315, 75%, 77%)
CMYKcmyk(0%, 75.1%, 19.3%, 22.7%)
CIE-LABlab(47.72, 67.23, -26.35)
CIE-LCHlch(47.72, 72.21, 338.60°)
OKLaboklab(57.76% 0.201 -0.0711)
OKLCHoklch(57.76% 0.213 340.5)
XYZxyz(30.3832, 16.5732, 34.3930)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5319F #31C557
analogous
#A131C5 #C5319F #C53155
triadic
#C5319F #9FC531 #319FC5
tetradic
#C5319F #C5A131 #31C557 #3155C5
square
#C5319F #C5A131 #31C557 #3155C5
split-complementary
#C5319F #55C531 #31C5A1
monochromatic
#631950 #942577 #C5319F #D75DB7 #E38ECD

Accessibility & contrast

On white

4.87
#C5319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C5319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5319F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5319F#FFFFFF#000000##FFFFFF
##C5319F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A2
Deuteranopia (green-blind)
#6D7A9C
Tritanopia (blue-blind)
#D13565
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c5319f;
/* rgb */ color: rgb(197, 49, 159);
/* oklch */ color: oklch(57.8% 0.213 340.5);
Tailwind
colors: {
  custom: {
    50: '#db78bb',
    500: '#c5319f',
    950: '#000000',
  },
}
SCSS
$custom: #c5319f;
$custom-light: #db78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c5319f",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 315.405,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57757,
    "c": 0.21318,
    "h": 340.5
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#C5319F
secondary
#85CD97
accent
#E36D44
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#150A12
muted
#847C81

Preview Lab

Preview with #C5319F

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

Preview Lab → · Contrast checker → · Palette generator →

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