#C5313A#C5313A

#C5313A is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.6% C 0.184 H 22.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C5313A
RGBrgb(197, 49, 58)
HSLhsl(356, 60%, 48%)
HSVhsv(356, 75%, 77%)
CMYKcmyk(0%, 75.1%, 70.6%, 22.7%)
CIE-LABlab(44.77, 57.96, 30.99)
CIE-LCHlch(44.77, 65.73, 28.13°)
OKLaboklab(54.63% 0.1697 0.0713)
OKLCHoklch(54.63% 0.184 22.8)
XYZxyz(24.8908, 14.3762, 5.4664)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5313A #31C5BC
analogous
#C53184 #C5313A #C57231
triadic
#C5313A #3AC531 #313AC5
tetradic
#C5313A #84C531 #31C5BC #7231C5
square
#C5313A #84C531 #31C5BC #7231C5
split-complementary
#C5313A #31C572 #3184C5
monochromatic
#63191D #94252C #C5313A #D75D64 #E38E93

Accessibility & contrast

On white

5.42
#C5313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C5313A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5313A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5313A#FFFFFF#000000##FFFFFF
##C5313A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5639
Deuteranopia (green-blind)
#827535
Tritanopia (blue-blind)
#D90036
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5313a;
/* rgb */ color: rgb(197, 49, 58);
/* oklch */ color: oklch(54.6% 0.184 22.8);
Tailwind
colors: {
  custom: {
    50: '#df7570',
    500: '#c5313a',
    950: '#000000',
  },
}
SCSS
$custom: #c5313a;
$custom-light: #df7570;
$custom-dark: #000000;
JSON
{
  "hex": "#c5313a",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 356.351,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54633,
    "c": 0.18404,
    "h": 22.8
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#C5313A
secondary
#85CDC9
accent
#E3DA44
background
#FEF7F6
surface
#FDEEEC
border
#D5C9C7
text
#170907
muted
#857B7A

Preview Lab

Preview with #C5313A

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

Preview Lab → · Contrast checker → · Palette generator →

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