#C5313B#C5313B

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

Color values

HEX#C5313B
RGBrgb(197, 49, 59)
HSLhsl(356, 60%, 48%)
HSVhsv(356, 75%, 77%)
CMYKcmyk(0%, 75.1%, 70.1%, 22.7%)
CIE-LABlab(44.78, 58.01, 30.41)
CIE-LCHlch(44.78, 65.50, 27.67°)
OKLaboklab(54.65% 0.17 0.0702)
OKLCHoklch(54.65% 0.184 22.4)
XYZxyz(24.9165, 14.3865, 5.6017)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5313B #31C5BB
analogous
#C53185 #C5313B #C57131
triadic
#C5313B #3BC531 #313BC5
tetradic
#C5313B #85C531 #31C5BB #7131C5
square
#C5313B #85C531 #31C5BB #7131C5
split-complementary
#C5313B #31C571 #3185C5
monochromatic
#63191E #94252C #C5313B #D75D65 #E38E93

Accessibility & contrast

On white

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

On black

3.88
#C5313B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5313B#FFFFFF#000000##FFFFFF
##C5313B1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5313b;
/* rgb */ color: rgb(197, 49, 59);
/* oklch */ color: oklch(54.6% 0.184 22.4);
Tailwind
colors: {
  custom: {
    50: '#df7571',
    500: '#c5313b',
    950: '#000000',
  },
}
SCSS
$custom: #c5313b;
$custom-light: #df7571;
$custom-dark: #000000;
JSON
{
  "hex": "#c5313b",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 355.946,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.18395,
    "h": 22.4
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#C5313B
secondary
#85CDC8
accent
#E3D944
background
#FEF7F6
surface
#FDEEEC
border
#D5C9C7
text
#170907
muted
#857B7A

Preview Lab

Preview with #C5313B

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

Preview Lab → · Contrast checker → · Palette generator →

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