#C0316C#C0316C

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

Color values

HEX#C0316C
RGBrgb(192, 49, 108)
HSLhsl(335, 59%, 47%)
HSVhsv(335, 74%, 75%)
CMYKcmyk(0%, 74.5%, 43.7%, 24.7%)
CIE-LABlab(44.93, 60.06, 0.31)
CIE-LCHlch(44.93, 60.06, 0.30°)
OKLaboklab(54.94% 0.1843 0.0015)
OKLCHoklch(54.94% 0.184 0.5)
XYZxyz(25.5453, 14.4891, 15.6359)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0316C #31C085
analogous
#C031B3 #C0316C #C03E31
triadic
#C0316C #6CC031 #316CC0
tetradic
#C0316C #B3C031 #31C085 #3E31C0
square
#C0316C #B3C031 #31C085 #3E31C0
split-complementary
#C0316C #31C03E #31B3C0
monochromatic
#5E1835 #8F2551 #C0316C #D5598C #E18AAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0316C#FFFFFF#000000##FFFFFF
##C0316C1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0316c;
/* rgb */ color: rgb(192, 49, 108);
/* oklch */ color: oklch(54.9% 0.184 0.5);
Tailwind
colors: {
  custom: {
    50: '#d87695',
    500: '#c0316c',
    950: '#000000',
  },
}
SCSS
$custom: #c0316c;
$custom-light: #d87695;
$custom-dark: #000000;
JSON
{
  "hex": "#c0316c",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 335.245,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.18431,
    "h": 0.5
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0316C

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

Preview Lab → · Contrast checker → · Palette generator →

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