#C0317B#C0317B

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

Color values

HEX#C0317B
RGBrgb(192, 49, 123)
HSLhsl(329, 59%, 47%)
HSVhsv(329, 74%, 75%)
CMYKcmyk(0%, 74.5%, 35.9%, 24.7%)
CIE-LABlab(45.41, 61.59, -8.20)
CIE-LCHlch(45.41, 62.13, 352.41°)
OKLaboklab(55.45% 0.1889 -0.0209)
OKLCHoklch(55.45% 0.19 353.7)
XYZxyz(26.4134, 14.8364, 20.2078)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0317B #31C076
analogous
#BE31C0 #C0317B #C03134
triadic
#C0317B #7BC031 #317BC0
tetradic
#C0317B #C0BE31 #31C076 #3134C0
square
#C0317B #C0BE31 #31C076 #3134C0
split-complementary
#C0317B #34C031 #31C0BE
monochromatic
#5E183D #8F255C #C0317B #D55999 #E18AB7

Accessibility & contrast

On white

5.29
#C0317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C0317B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0317B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0317B#FFFFFF#000000##FFFFFF
##C0317B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7D
Deuteranopia (green-blind)
#747578
Tritanopia (blue-blind)
#CF2352
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c0317b;
/* rgb */ color: rgb(192, 49, 123);
/* oklch */ color: oklch(55.4% 0.190 353.7);
Tailwind
colors: {
  custom: {
    50: '#d876a1',
    500: '#c0317b',
    950: '#000000',
  },
}
SCSS
$custom: #c0317b;
$custom-light: #d876a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c0317b",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 328.951,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.19009,
    "h": 353.7
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#C0317B
secondary
#82CBA5
accent
#E39145
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C0317B

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

Preview Lab → · Contrast checker → · Palette generator →

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