#C5314F#C5314F

#C5314F is a mid, vivid red. Relative luminance 0.146; OKLCH L 55.0% C 0.184 H 14.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C5314F
RGBrgb(197, 49, 79)
HSLhsl(348, 60%, 48%)
HSVhsv(348, 75%, 77%)
CMYKcmyk(0%, 75.1%, 59.9%, 22.7%)
CIE-LABlab(45.13, 59.15, 18.68)
CIE-LCHlch(45.13, 62.03, 17.53°)
OKLaboklab(55.02% 0.1777 0.0459)
OKLCHoklch(55.02% 0.184 14.5)
XYZxyz(25.5381, 14.6352, 8.8758)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5314F #31C5A7
analogous
#C53199 #C5314F #C55D31
triadic
#C5314F #4FC531 #314FC5
tetradic
#C5314F #99C531 #31C5A7 #5D31C5
square
#C5314F #99C531 #31C5A7 #5D31C5
split-complementary
#C5314F #31C55D #3199C5
monochromatic
#631928 #94253B #C5314F #D75D75 #E38E9F

Accessibility & contrast

On white

5.35
#C5314F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5314F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5314F#FFFFFF#000000##FFFFFF
##C5314F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A574F
Deuteranopia (green-blind)
#7F764B
Tritanopia (blue-blind)
#D8003E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c5314f;
/* rgb */ color: rgb(197, 49, 79);
/* oklch */ color: oklch(55.0% 0.184 14.5);
Tailwind
colors: {
  custom: {
    50: '#de7680',
    500: '#c5314f',
    950: '#000000',
  },
}
SCSS
$custom: #c5314f;
$custom-light: #de7680;
$custom-dark: #000000;
JSON
{
  "hex": "#c5314f",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 347.838,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55019,
    "c": 0.18351,
    "h": 14.5
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#C5314F
secondary
#85CDBE
accent
#E3C344
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C5314F

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

Preview Lab → · Contrast checker → · Palette generator →

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