#C5312C#C5312C

#C5312C is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.4% C 0.186 H 27.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C5312C
RGBrgb(197, 49, 44)
HSLhsl(2, 63%, 47%)
HSVhsv(2, 78%, 77%)
CMYKcmyk(0%, 75.1%, 77.7%, 22.7%)
CIE-LABlab(44.59, 57.39, 38.89)
CIE-LCHlch(44.59, 69.32, 34.12°)
OKLaboklab(54.45% 0.1648 0.0853)
OKLCHoklch(54.45% 0.186 27.4)
XYZxyz(24.5818, 14.2527, 3.8391)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5312C #2CC0C5
analogous
#C52C73 #C5312C #C57E2C
triadic
#C5312C #2CC531 #312CC5
tetradic
#C5312C #73C52C #2CC0C5 #7E2CC5
square
#C5312C #73C52C #2CC0C5 #7E2CC5
split-complementary
#C5312C #2CC57E #2C73C5
monochromatic
#611816 #932521 #C5312C #D95955 #E48A87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5312C#FFFFFF#000000##FFFFFF
##C5312C1.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)
#5E552A
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#D90032
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c5312c;
/* rgb */ color: rgb(197, 49, 44);
/* oklch */ color: oklch(54.4% 0.186 27.4);
Tailwind
colors: {
  custom: {
    50: '#e07566',
    500: '#c5312c',
    950: '#000000',
  },
}
SCSS
$custom: #c5312c;
$custom-light: #e07566;
$custom-dark: #000000;
JSON
{
  "hex": "#c5312c",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 1.961,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54447,
    "c": 0.18561,
    "h": 27.4
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#C5312C
secondary
#7FCBCE
accent
#E1E741
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C5312C

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

Preview Lab → · Contrast checker → · Palette generator →

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