#C5404D#C5404D

#C5404D is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.5% C 0.168 H 18.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C5404D
RGBrgb(197, 64, 77)
HSLhsl(354, 53%, 51%)
HSVhsv(354, 68%, 77%)
CMYKcmyk(0%, 67.5%, 60.9%, 22.7%)
CIE-LABlab(47.07, 53.54, 22.47)
CIE-LCHlch(47.07, 58.06, 22.76°)
OKLaboklab(56.45% 0.1594 0.0545)
OKLCHoklch(56.45% 0.168 18.9)
XYZxyz(26.2015, 16.0766, 8.7431)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5404D #40C5B8
analogous
#C5408F #C5404D #C57540
triadic
#C5404D #4DC540 #404DC5
tetradic
#C5404D #8FC540 #40C5B8 #7540C5
square
#C5404D #8FC540 #40C5B8 #7540C5
split-complementary
#C5404D #40C575 #408FC5
monochromatic
#6A2028 #992F39 #C5404D #D36F79 #E29EA4

Accessibility & contrast

On white

4.98
#C5404D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C5404D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5404D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5404D#FFFFFF#000000##FFFFFF
##C5404D1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635E4D
Deuteranopia (green-blind)
#847A49
Tritanopia (blue-blind)
#D82146
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5404d;
/* rgb */ color: rgb(197, 64, 77);
/* oklch */ color: oklch(56.5% 0.168 18.9);
Tailwind
colors: {
  custom: {
    50: '#dd7d7e',
    500: '#c5404d',
    950: '#000000',
  },
}
SCSS
$custom: #c5404d;
$custom-light: #dd7d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5404d",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 77
  },
  "hsl": {
    "h": 354.135,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.16844,
    "h": 18.9
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#C5404D
secondary
#93CEC8
accent
#DDCF4B
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#160A0A
muted
#847C7C

Preview Lab

Preview with #C5404D

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

Preview Lab → · Contrast checker → · Palette generator →

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