#C0316D#C0316D

#C0316D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.185 H 0.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C0316D
RGBrgb(192, 49, 109)
HSLhsl(335, 59%, 47%)
HSVhsv(335, 74%, 75%)
CMYKcmyk(0%, 74.5%, 43.2%, 24.7%)
CIE-LABlab(44.96, 60.15, -0.26)
CIE-LCHlch(44.96, 60.15, 359.75°)
OKLaboklab(54.97% 0.1846 0)
OKLCHoklch(54.97% 0.185 0)
XYZxyz(25.5988, 14.5105, 15.9178)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0316D #31C084
analogous
#C031B5 #C0316D #C03C31
triadic
#C0316D #6DC031 #316DC0
tetradic
#C0316D #B5C031 #31C084 #3C31C0
square
#C0316D #B5C031 #31C084 #3C31C0
split-complementary
#C0316D #31C03C #31B5C0
monochromatic
#5E1836 #8F2551 #C0316D #D5598D #E18AAF

Accessibility & contrast

On white

5.38
#C0316D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C0316D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0316D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0316D#FFFFFF#000000##FFFFFF
##C0316D1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51596E
Deuteranopia (green-blind)
#77746A
Tritanopia (blue-blind)
#D0194B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c0316d;
/* rgb */ color: rgb(192, 49, 109);
/* oklch */ color: oklch(55.0% 0.185 0.0);
Tailwind
colors: {
  custom: {
    50: '#d87696',
    500: '#c0316d',
    950: '#000000',
  },
}
SCSS
$custom: #c0316d;
$custom-light: #d87696;
$custom-dark: #000000;
JSON
{
  "hex": "#c0316d",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 334.825,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.18463,
    "h": 0
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#C0316D
secondary
#82CBAC
accent
#E3A145
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C0316D

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

Preview Lab → · Contrast checker → · Palette generator →

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