#C8316F#C8316F

#C8316F is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.192 H 0.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C8316F
RGBrgb(200, 49, 111)
HSLhsl(335, 61%, 49%)
HSVhsv(335, 76%, 78%)
CMYKcmyk(0%, 75.5%, 44.5%, 21.6%)
CIE-LABlab(46.48, 62.54, 0.91)
CIE-LCHlch(46.48, 62.54, 0.83°)
OKLaboklab(56.38% 0.1919 0.003)
OKLCHoklch(56.38% 0.192 0.9)
XYZxyz(27.7892, 15.6273, 16.5889)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8316F #31C88A
analogous
#C831BB #C8316F #C83E31
triadic
#C8316F #6FC831 #316FC8
tetradic
#C8316F #BBC831 #31C88A #3E31C8
square
#C8316F #BBC831 #31C88A #3E31C8
split-complementary
#C8316F #31C83E #31BBC8
monochromatic
#661938 #972554 #C8316F #D85F90 #E490B2

Accessibility & contrast

On white

5.09
#C8316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C8316F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8316F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8316F#FFFFFF#000000##FFFFFF
##C8316F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C70
Deuteranopia (green-blind)
#7C796C
Tritanopia (blue-blind)
#D9144C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c8316f;
/* rgb */ color: rgb(200, 49, 111);
/* oklch */ color: oklch(56.4% 0.192 0.9);
Tailwind
colors: {
  custom: {
    50: '#de7798',
    500: '#c8316f',
    950: '#000000',
  },
}
SCSS
$custom: #c8316f;
$custom-light: #de7798;
$custom-dark: #000000;
JSON
{
  "hex": "#c8316f",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 335.364,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.19196,
    "h": 0.9
  },
  "luminance": 0.15624
}

Semantic roles & 50–950 ramp

primary
#C8316F
secondary
#86CEB1
accent
#E4A244
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C8316F

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

Preview Lab → · Contrast checker → · Palette generator →

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