#C9317A#C9317A

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

Color values

HEX#C9317A
RGBrgb(201, 49, 122)
HSLhsl(331, 61%, 49%)
HSVhsv(331, 76%, 79%)
CMYKcmyk(0%, 75.6%, 39.3%, 21.2%)
CIE-LABlab(47.00, 63.87, -5.04)
CIE-LCHlch(47.00, 64.07, 355.49°)
OKLaboklab(56.9% 0.1963 -0.0125)
OKLCHoklch(56.9% 0.197 356.4)
XYZxyz(28.7006, 16.0229, 19.9899)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9317A #31C980
analogous
#C931C6 #C9317A #C93431
triadic
#C9317A #7AC931 #317AC9
tetradic
#C9317A #C6C931 #31C980 #3431C9
square
#C9317A #C6C931 #31C980 #3431C9
split-complementary
#C9317A #31C934 #31C6C9
monochromatic
#67193E #98255C #C9317A #D85F99 #E490B9

Accessibility & contrast

On white

5.00
#C9317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C9317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C9317A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9317A#FFFFFF#000000##FFFFFF
##C9317A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7C
Deuteranopia (green-blind)
#7B7A77
Tritanopia (blue-blind)
#D91C51
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c9317a;
/* rgb */ color: rgb(201, 49, 122);
/* oklch */ color: oklch(56.9% 0.197 356.4);
Tailwind
colors: {
  custom: {
    50: '#df77a0',
    500: '#c9317a',
    950: '#000000',
  },
}
SCSS
$custom: #c9317a;
$custom-light: #df77a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c9317a",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 331.184,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56904,
    "c": 0.19665,
    "h": 356.4
  },
  "luminance": 0.16019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9317A

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

Preview Lab → · Contrast checker → · Palette generator →

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