#C0316F#C0316F

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

Color values

HEX#C0316F
RGBrgb(192, 49, 111)
HSLhsl(334, 59%, 47%)
HSVhsv(334, 74%, 75%)
CMYKcmyk(0%, 74.5%, 42.2%, 24.7%)
CIE-LABlab(45.02, 60.35, -1.41)
CIE-LCHlch(45.02, 60.36, 358.66°)
OKLaboklab(55.03% 0.1853 -0.003)
OKLCHoklch(55.03% 0.185 359.1)
XYZxyz(25.7077, 14.5541, 16.4913)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0316F #31C082
analogous
#C031B7 #C0316F #C03B31
triadic
#C0316F #6FC031 #316FC0
tetradic
#C0316F #B7C031 #31C082 #3B31C0
square
#C0316F #B7C031 #31C082 #3B31C0
split-complementary
#C0316F #31C03B #31B7C0
monochromatic
#5E1837 #8F2553 #C0316F #D5598F #E18AB0

Accessibility & contrast

On white

5.37
#C0316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C0316F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0316F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0316F#FFFFFF#000000##FFFFFF
##C0316F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505971
Deuteranopia (green-blind)
#77746C
Tritanopia (blue-blind)
#D01B4C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c0316f;
/* rgb */ color: rgb(192, 49, 111);
/* oklch */ color: oklch(55.0% 0.185 359.1);
Tailwind
colors: {
  custom: {
    50: '#d87698',
    500: '#c0316f',
    950: '#000000',
  },
}
SCSS
$custom: #c0316f;
$custom-light: #d87698;
$custom-dark: #000000;
JSON
{
  "hex": "#c0316f",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 333.986,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.18531,
    "h": 359.1
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#C0316F
secondary
#82CBAB
accent
#E39E45
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C0316F

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

Preview Lab → · Contrast checker → · Palette generator →

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