#C5312D#C5312D

#C5312D is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.5% C 0.185 H 27.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C5312D
RGBrgb(197, 49, 45)
HSLhsl(2, 63%, 47%)
HSVhsv(2, 77%, 77%)
CMYKcmyk(0%, 75.1%, 77.2%, 22.7%)
CIE-LABlab(44.60, 57.42, 38.34)
CIE-LCHlch(44.60, 69.05, 33.73°)
OKLaboklab(54.46% 0.1652 0.0844)
OKLCHoklch(54.46% 0.185 27.1)
XYZxyz(24.6008, 14.2603, 3.9393)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5312D #2DC1C5
analogous
#C52D75 #C5312D #C57D2D
triadic
#C5312D #2DC531 #312DC5
tetradic
#C5312D #75C52D #2DC1C5 #7D2DC5
square
#C5312D #75C52D #2DC1C5 #7D2DC5
split-complementary
#C5312D #2DC57D #2D75C5
monochromatic
#611816 #932522 #C5312D #D95A57 #E48B88

Accessibility & contrast

On white

5.45
#C5312D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#C5312D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5312D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5312D#FFFFFF#000000##FFFFFF
##C5312D1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552B
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#D90032
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c5312d;
/* rgb */ color: rgb(197, 49, 45);
/* oklch */ color: oklch(54.5% 0.185 27.1);
Tailwind
colors: {
  custom: {
    50: '#e07567',
    500: '#c5312d',
    950: '#000000',
  },
}
SCSS
$custom: #c5312d;
$custom-light: #e07567;
$custom-dark: #000000;
JSON
{
  "hex": "#c5312d",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 1.579,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.18548,
    "h": 27.1
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#C5312D
secondary
#80CCCE
accent
#E2E642
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C5312D

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

Preview Lab → · Contrast checker → · Palette generator →

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