#C9317E#C9317E

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

Color values

HEX#C9317E
RGBrgb(201, 49, 126)
HSLhsl(330, 61%, 49%)
HSVhsv(330, 76%, 79%)
CMYKcmyk(0%, 75.6%, 37.3%, 21.2%)
CIE-LABlab(47.14, 64.29, -7.28)
CIE-LCHlch(47.14, 64.70, 353.53°)
OKLaboklab(57.04% 0.1974 -0.0184)
OKLCHoklch(57.04% 0.198 354.7)
XYZxyz(28.9535, 16.1241, 21.3222)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9317E #31C97C
analogous
#C831C9 #C9317E #C93132
triadic
#C9317E #7EC931 #317EC9
tetradic
#C9317E #C9C831 #31C97C #3132C9
square
#C9317E #C9C831 #31C97C #3132C9
split-complementary
#C9317E #32C931 #31C9C8
monochromatic
#671940 #98255F #C9317E #D85F9C #E490BB

Accessibility & contrast

On white

4.97
#C9317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C9317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C9317E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9317E#FFFFFF#000000##FFFFFF
##C9317E1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E80
Deuteranopia (green-blind)
#7A7A7B
Tritanopia (blue-blind)
#D91F53
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c9317e;
/* rgb */ color: rgb(201, 49, 126);
/* oklch */ color: oklch(57.0% 0.198 354.7);
Tailwind
colors: {
  custom: {
    50: '#df78a3',
    500: '#c9317e',
    950: '#000000',
  },
}
SCSS
$custom: #c9317e;
$custom-light: #df78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c9317e",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 329.605,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.19828,
    "h": 354.7
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#C9317E
secondary
#87CFAA
accent
#E49344
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C9317E

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

Preview Lab → · Contrast checker → · Palette generator →

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