#C9317F#C9317F

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

Color values

HEX#C9317F
RGBrgb(201, 49, 127)
HSLhsl(329, 61%, 49%)
HSVhsv(329, 76%, 79%)
CMYKcmyk(0%, 75.6%, 36.8%, 21.2%)
CIE-LABlab(47.17, 64.39, -7.84)
CIE-LCHlch(47.17, 64.87, 353.06°)
OKLaboklab(57.08% 0.1977 -0.0199)
OKLCHoklch(57.08% 0.199 354.2)
XYZxyz(29.0184, 16.1500, 21.6637)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9317F #31C97B
analogous
#C731C9 #C9317F #C93133
triadic
#C9317F #7FC931 #317FC9
tetradic
#C9317F #C9C731 #31C97B #3133C9
square
#C9317F #C9C731 #31C97B #3133C9
split-complementary
#C9317F #33C931 #31C9C7
monochromatic
#671941 #982560 #C9317F #D85F9D #E490BB

Accessibility & contrast

On white

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

On black

4.23
#C9317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C9317F#FFFFFF#000000##FFFFFF
##C9317F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E81
Deuteranopia (green-blind)
#797A7C
Tritanopia (blue-blind)
#D92054
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c9317f;
/* rgb */ color: rgb(201, 49, 127);
/* oklch */ color: oklch(57.1% 0.199 354.2);
Tailwind
colors: {
  custom: {
    50: '#df78a4',
    500: '#c9317f',
    950: '#000000',
  },
}
SCSS
$custom: #c9317f;
$custom-light: #df78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c9317f",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 329.211,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.1987,
    "h": 354.2
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#C9317F
secondary
#87CFAA
accent
#E49244
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C9317F

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

Preview Lab → · Contrast checker → · Palette generator →

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