#C0317A#C0317A

#C0317A is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.4% C 0.190 H 354.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C0317A
RGBrgb(192, 49, 122)
HSLhsl(329, 59%, 47%)
HSVhsv(329, 74%, 75%)
CMYKcmyk(0%, 74.5%, 36.5%, 24.7%)
CIE-LABlab(45.37, 61.48, -7.64)
CIE-LCHlch(45.37, 61.96, 352.91°)
OKLaboklab(55.41% 0.1887 -0.0194)
OKLCHoklch(55.41% 0.19 354.1)
XYZxyz(26.3511, 14.8114, 19.8798)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0317A #31C077
analogous
#BF31C0 #C0317A #C03132
triadic
#C0317A #7AC031 #317AC0
tetradic
#C0317A #C0BF31 #31C077 #3132C0
square
#C0317A #C0BF31 #31C077 #3132C0
split-complementary
#C0317A #32C031 #31C0BF
monochromatic
#5E183C #8F255B #C0317A #D55998 #E18AB7

Accessibility & contrast

On white

5.30
#C0317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C0317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0317A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0317A#FFFFFF#000000##FFFFFF
##C0317A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7C
Deuteranopia (green-blind)
#747577
Tritanopia (blue-blind)
#CF2251
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c0317a;
/* rgb */ color: rgb(192, 49, 122);
/* oklch */ color: oklch(55.4% 0.190 354.1);
Tailwind
colors: {
  custom: {
    50: '#d876a0',
    500: '#c0317a',
    950: '#000000',
  },
}
SCSS
$custom: #c0317a;
$custom-light: #d876a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c0317a",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 329.371,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55411,
    "c": 0.18965,
    "h": 354.1
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#C0317A
secondary
#82CBA6
accent
#E39245
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C0317A

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

Preview Lab → · Contrast checker → · Palette generator →

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