#C0316E#C0316E

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

Color values

HEX#C0316E
RGBrgb(192, 49, 110)
HSLhsl(334, 59%, 47%)
HSVhsv(334, 74%, 75%)
CMYKcmyk(0%, 74.5%, 42.7%, 24.7%)
CIE-LABlab(44.99, 60.25, -0.83)
CIE-LCHlch(44.99, 60.26, 359.21°)
OKLaboklab(55% 0.185 -0.0015)
OKLCHoklch(55% 0.185 359.5)
XYZxyz(25.6529, 14.5322, 16.2030)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0316E #31C083
analogous
#C031B5 #C0316E #C03C31
triadic
#C0316E #6EC031 #316EC0
tetradic
#C0316E #B5C031 #31C083 #3C31C0
square
#C0316E #B5C031 #31C083 #3C31C0
split-complementary
#C0316E #31C03C #31B5C0
monochromatic
#5E1836 #8F2552 #C0316E #D5598E #E18AAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0316E#FFFFFF#000000##FFFFFF
##C0316E1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505970
Deuteranopia (green-blind)
#77746B
Tritanopia (blue-blind)
#D01A4B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c0316e;
/* rgb */ color: rgb(192, 49, 110);
/* oklch */ color: oklch(55.0% 0.185 359.5);
Tailwind
colors: {
  custom: {
    50: '#d87697',
    500: '#c0316e',
    950: '#000000',
  },
}
SCSS
$custom: #c0316e;
$custom-light: #d87697;
$custom-dark: #000000;
JSON
{
  "hex": "#c0316e",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 334.406,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.18497,
    "h": 359.5
  },
  "luminance": 0.14529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0316E

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

Preview Lab → · Contrast checker → · Palette generator →

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