#C7313C#C7313C

#C7313C is a mid, vivid red. Relative luminance 0.147; OKLCH L 55.0% C 0.186 H 22.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C7313C
RGBrgb(199, 49, 60)
HSLhsl(356, 60%, 49%)
HSVhsv(356, 75%, 78%)
CMYKcmyk(0%, 75.4%, 69.8%, 22%)
CIE-LABlab(45.18, 58.66, 30.38)
CIE-LCHlch(45.18, 66.06, 27.38°)
OKLaboklab(55.02% 0.172 0.0702)
OKLCHoklch(55.02% 0.186 22.2)
XYZxyz(25.4700, 14.6689, 5.7644)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7313C #31C7BC
analogous
#C73187 #C7313C #C77131
triadic
#C7313C #3CC731 #313CC7
tetradic
#C7313C #87C731 #31C7BC #7131C7
square
#C7313C #87C731 #31C7BC #7131C7
split-complementary
#C7313C #31C771 #3187C7
monochromatic
#65191E #96252D #C7313C #D75E67 #E38F95

Accessibility & contrast

On white

5.34
#C7313C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C7313C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7313C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7313C#FFFFFF#000000##FFFFFF
##C7313C1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D563B
Deuteranopia (green-blind)
#837637
Tritanopia (blue-blind)
#DB0037
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c7313c;
/* rgb */ color: rgb(199, 49, 60);
/* oklch */ color: oklch(55.0% 0.186 22.2);
Tailwind
colors: {
  custom: {
    50: '#e07671',
    500: '#c7313c',
    950: '#000000',
  },
}
SCSS
$custom: #c7313c;
$custom-light: #e07671;
$custom-dark: #000000;
JSON
{
  "hex": "#c7313c",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 355.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55015,
    "c": 0.18583,
    "h": 22.2
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#C7313C
secondary
#86CEC9
accent
#E4D844
background
#FFF7F6
surface
#FEEEEC
border
#D6C9C7
text
#170907
muted
#857B7A

Preview Lab

Preview with #C7313C

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

Preview Lab → · Contrast checker → · Palette generator →

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