#C5313D#C5313D

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

Color values

HEX#C5313D
RGBrgb(197, 49, 61)
HSLhsl(355, 60%, 48%)
HSVhsv(355, 75%, 77%)
CMYKcmyk(0%, 75.1%, 69%, 22.7%)
CIE-LABlab(44.81, 58.11, 29.25)
CIE-LCHlch(44.81, 65.05, 26.72°)
OKLaboklab(54.68% 0.1708 0.068)
OKLCHoklch(54.68% 0.184 21.7)
XYZxyz(24.9694, 14.4077, 5.8802)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5313D #31C5B9
analogous
#C53187 #C5313D #C56F31
triadic
#C5313D #3DC531 #313DC5
tetradic
#C5313D #87C531 #31C5B9 #6F31C5
square
#C5313D #87C531 #31C5B9 #6F31C5
split-complementary
#C5313D #31C56F #3187C5
monochromatic
#63191F #94252E #C5313D #D75D66 #E38E95

Accessibility & contrast

On white

5.41
#C5313D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5313D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5313D#FFFFFF#000000##FFFFFF
##C5313D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563C
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#D90037
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5313d;
/* rgb */ color: rgb(197, 49, 61);
/* oklch */ color: oklch(54.7% 0.184 21.7);
Tailwind
colors: {
  custom: {
    50: '#df7572',
    500: '#c5313d',
    950: '#000000',
  },
}
SCSS
$custom: #c5313d;
$custom-light: #df7572;
$custom-dark: #000000;
JSON
{
  "hex": "#c5313d",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 355.135,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.1838,
    "h": 21.7
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#C5313D
secondary
#85CDC7
accent
#E3D644
background
#FEF7F6
surface
#FDEEEC
border
#D5C9C7
text
#170908
muted
#857B7B

Preview Lab

Preview with #C5313D

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

Preview Lab → · Contrast checker → · Palette generator →

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