#C9317C#C9317C

#C9317C is a mid, vivid pink. Relative luminance 0.161; OKLCH L 57.0% C 0.197 H 355.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C9317C
RGBrgb(201, 49, 124)
HSLhsl(330, 61%, 49%)
HSVhsv(330, 76%, 79%)
CMYKcmyk(0%, 75.6%, 38.3%, 21.2%)
CIE-LABlab(47.07, 64.08, -6.17)
CIE-LCHlch(47.07, 64.37, 354.50°)
OKLaboklab(56.97% 0.1968 -0.0154)
OKLCHoklch(56.97% 0.197 355.5)
XYZxyz(28.8258, 16.0730, 20.6493)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9317C #31C97E
analogous
#C931C8 #C9317C #C93231
triadic
#C9317C #7CC931 #317CC9
tetradic
#C9317C #C8C931 #31C97E #3231C9
square
#C9317C #C8C931 #31C97E #3231C9
split-complementary
#C9317C #31C932 #31C8C9
monochromatic
#67193F #98255E #C9317C #D85F9B #E490BA

Accessibility & contrast

On white

4.98
#C9317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C9317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C9317C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9317C#FFFFFF#000000##FFFFFF
##C9317C1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7E
Deuteranopia (green-blind)
#7A7A79
Tritanopia (blue-blind)
#D91D52
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c9317c;
/* rgb */ color: rgb(201, 49, 124);
/* oklch */ color: oklch(57.0% 0.197 355.5);
Tailwind
colors: {
  custom: {
    50: '#df77a1',
    500: '#c9317c',
    950: '#000000',
  },
}
SCSS
$custom: #c9317c;
$custom-light: #df77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c9317c",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 330.395,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.19744,
    "h": 355.5
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#C9317C
secondary
#87CFAB
accent
#E49544
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C9317C

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

Preview Lab → · Contrast checker → · Palette generator →

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