#C9317B#C9317B

#C9317B is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.9% C 0.197 H 355.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C9317B
RGBrgb(201, 49, 123)
HSLhsl(331, 61%, 49%)
HSVhsv(331, 76%, 79%)
CMYKcmyk(0%, 75.6%, 38.8%, 21.2%)
CIE-LABlab(47.04, 63.98, -5.60)
CIE-LCHlch(47.04, 64.22, 354.99°)
OKLaboklab(56.94% 0.1966 -0.0139)
OKLCHoklch(56.94% 0.197 355.9)
XYZxyz(28.7628, 16.0478, 20.3179)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9317B #31C97F
analogous
#C931C7 #C9317B #C93331
triadic
#C9317B #7BC931 #317BC9
tetradic
#C9317B #C7C931 #31C97F #3331C9
square
#C9317B #C7C931 #31C97F #3331C9
split-complementary
#C9317B #31C933 #31C7C9
monochromatic
#67193F #98255D #C9317B #D85F9A #E490B9

Accessibility & contrast

On white

4.99
#C9317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C9317B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9317B#FFFFFF#000000##FFFFFF
##C9317B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7D
Deuteranopia (green-blind)
#7A7A78
Tritanopia (blue-blind)
#D91D52
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c9317b;
/* rgb */ color: rgb(201, 49, 123);
/* oklch */ color: oklch(56.9% 0.197 355.9);
Tailwind
colors: {
  custom: {
    50: '#df77a1',
    500: '#c9317b',
    950: '#000000',
  },
}
SCSS
$custom: #c9317b;
$custom-light: #df77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c9317b",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 330.789,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.19704,
    "h": 355.9
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#C9317B
secondary
#87CFAC
accent
#E49644
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C9317B

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

Preview Lab → · Contrast checker → · Palette generator →

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