#C9317D#C9317D

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

Color values

HEX#C9317D
RGBrgb(201, 49, 125)
HSLhsl(330, 61%, 49%)
HSVhsv(330, 76%, 79%)
CMYKcmyk(0%, 75.6%, 37.8%, 21.2%)
CIE-LABlab(47.10, 64.18, -6.73)
CIE-LCHlch(47.10, 64.53, 354.02°)
OKLaboklab(57.01% 0.1971 -0.0169)
OKLCHoklch(57.01% 0.198 355.1)
XYZxyz(28.8893, 16.0984, 20.9840)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9317D #31C97D
analogous
#C931C9 #C9317D #C93131
triadic
#C9317D #7DC931 #317DC9
tetradic
#C9317D #C9C931 #31C97D #3131C9
square
#C9317D #C9C931 #31C97D #3131C9
split-complementary
#C9317D #31C931 #31C9C9
monochromatic
#671940 #98255E #C9317D #D85F9C #E490BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9317D#FFFFFF#000000##FFFFFF
##C9317D1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7F
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#D91E53
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c9317d;
/* rgb */ color: rgb(201, 49, 125);
/* oklch */ color: oklch(57.0% 0.198 355.1);
Tailwind
colors: {
  custom: {
    50: '#df77a2',
    500: '#c9317d',
    950: '#000000',
  },
}
SCSS
$custom: #c9317d;
$custom-light: #df77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c9317d",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 330,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.19786,
    "h": 355.1
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9317D

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

Preview Lab → · Contrast checker → · Palette generator →

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