#C5313E#C5313E

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

Color values

HEX#C5313E
RGBrgb(197, 49, 62)
HSLhsl(355, 60%, 48%)
HSVhsv(355, 75%, 77%)
CMYKcmyk(0%, 75.1%, 68.5%, 22.7%)
CIE-LABlab(44.83, 58.16, 28.67)
CIE-LCHlch(44.83, 64.84, 26.24°)
OKLaboklab(54.7% 0.1711 0.0669)
OKLCHoklch(54.7% 0.184 21.3)
XYZxyz(24.9965, 14.4185, 6.0234)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5313E #31C5B8
analogous
#C53188 #C5313E #C56E31
triadic
#C5313E #3EC531 #313EC5
tetradic
#C5313E #88C531 #31C5B8 #6E31C5
square
#C5313E #88C531 #31C5B8 #6E31C5
split-complementary
#C5313E #31C56E #3188C5
monochromatic
#63191F #94252F #C5313E #D75D67 #E38E95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5313E#FFFFFF#000000##FFFFFF
##C5313E1.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)
#5C563D
Deuteranopia (green-blind)
#817539
Tritanopia (blue-blind)
#D80037
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5313e;
/* rgb */ color: rgb(197, 49, 62);
/* oklch */ color: oklch(54.7% 0.184 21.3);
Tailwind
colors: {
  custom: {
    50: '#df7573',
    500: '#c5313e',
    950: '#000000',
  },
}
SCSS
$custom: #c5313e;
$custom-light: #df7573;
$custom-dark: #000000;
JSON
{
  "hex": "#c5313e",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 354.73,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.18372,
    "h": 21.3
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5313E

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

Preview Lab → · Contrast checker → · Palette generator →

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