#C5314E#C5314E

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

Color values

HEX#C5314E
RGBrgb(197, 49, 78)
HSLhsl(348, 60%, 48%)
HSVhsv(348, 75%, 77%)
CMYKcmyk(0%, 75.1%, 60.4%, 22.7%)
CIE-LABlab(45.11, 59.08, 19.27)
CIE-LCHlch(45.11, 62.15, 18.06°)
OKLaboklab(55% 0.1773 0.0472)
OKLCHoklch(55% 0.183 14.9)
XYZxyz(25.5020, 14.6207, 8.6855)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5314E #31C5A8
analogous
#C53198 #C5314E #C55E31
triadic
#C5314E #4EC531 #314EC5
tetradic
#C5314E #98C531 #31C5A8 #5E31C5
square
#C5314E #98C531 #31C5A8 #5E31C5
split-complementary
#C5314E #31C55E #3198C5
monochromatic
#631927 #94253B #C5314E #D75D75 #E38E9E

Accessibility & contrast

On white

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

On black

3.92
#C5314E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5314E#FFFFFF#000000##FFFFFF
##C5314E1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A574E
Deuteranopia (green-blind)
#80764A
Tritanopia (blue-blind)
#D8003D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c5314e;
/* rgb */ color: rgb(197, 49, 78);
/* oklch */ color: oklch(55.0% 0.183 14.9);
Tailwind
colors: {
  custom: {
    50: '#de767f',
    500: '#c5314e',
    950: '#000000',
  },
}
SCSS
$custom: #c5314e;
$custom-light: #de767f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5314e",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 348.243,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.18347,
    "h": 14.9
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#C5314E
secondary
#85CDBF
accent
#E3C444
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C5314E

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

Preview Lab → · Contrast checker → · Palette generator →

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