#C5313C#C5313C

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

Color values

HEX#C5313C
RGBrgb(197, 49, 60)
HSLhsl(356, 60%, 48%)
HSVhsv(356, 75%, 77%)
CMYKcmyk(0%, 75.1%, 69.5%, 22.7%)
CIE-LABlab(44.80, 58.06, 29.83)
CIE-LCHlch(44.80, 65.27, 27.20°)
OKLaboklab(54.66% 0.1704 0.0691)
OKLCHoklch(54.66% 0.184 22.1)
XYZxyz(24.9427, 14.3970, 5.7396)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5313C #31C5BA
analogous
#C53186 #C5313C #C57031
triadic
#C5313C #3CC531 #313CC5
tetradic
#C5313C #86C531 #31C5BA #7031C5
square
#C5313C #86C531 #31C5BA #7031C5
split-complementary
#C5313C #31C570 #3186C5
monochromatic
#63191E #94252D #C5313C #D75D66 #E38E94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5313C#FFFFFF#000000##FFFFFF
##C5313C1.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)
#5C563B
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#D90037
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5313c;
/* rgb */ color: rgb(197, 49, 60);
/* oklch */ color: oklch(54.7% 0.184 22.1);
Tailwind
colors: {
  custom: {
    50: '#df7571',
    500: '#c5313c',
    950: '#000000',
  },
}
SCSS
$custom: #c5313c;
$custom-light: #df7571;
$custom-dark: #000000;
JSON
{
  "hex": "#c5313c",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 355.541,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.18387,
    "h": 22.1
  },
  "luminance": 0.14393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5313C

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

Preview Lab → · Contrast checker → · Palette generator →

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