#C0316B#C0316B

#C0316B is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.184 H 0.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C0316B
RGBrgb(192, 49, 107)
HSLhsl(336, 59%, 47%)
HSVhsv(336, 74%, 75%)
CMYKcmyk(0%, 74.5%, 44.3%, 24.7%)
CIE-LABlab(44.90, 59.96, 0.89)
CIE-LCHlch(44.90, 59.97, 0.85°)
OKLaboklab(54.9% 0.184 0.003)
OKLCHoklch(54.9% 0.184 0.9)
XYZxyz(25.4924, 14.4680, 15.3573)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0316B #31C086
analogous
#C031B3 #C0316B #C03E31
triadic
#C0316B #6BC031 #316BC0
tetradic
#C0316B #B3C031 #31C086 #3E31C0
square
#C0316B #B3C031 #31C086 #3E31C0
split-complementary
#C0316B #31C03E #31B3C0
monochromatic
#5E1835 #8F2550 #C0316B #D5598B #E18AAD

Accessibility & contrast

On white

5.39
#C0316B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C0316B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0316B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0316B#FFFFFF#000000##FFFFFF
##C0316B1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51596C
Deuteranopia (green-blind)
#787468
Tritanopia (blue-blind)
#D0184A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c0316b;
/* rgb */ color: rgb(192, 49, 107);
/* oklch */ color: oklch(54.9% 0.184 0.9);
Tailwind
colors: {
  custom: {
    50: '#d97695',
    500: '#c0316b',
    950: '#000000',
  },
}
SCSS
$custom: #c0316b;
$custom-light: #d97695;
$custom-dark: #000000;
JSON
{
  "hex": "#c0316b",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 335.664,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.18399,
    "h": 0.9
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#C0316B
secondary
#82CBAD
accent
#E3A345
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C0316B

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

Preview Lab → · Contrast checker → · Palette generator →

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