#C5404F#C5404F

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

Color values

HEX#C5404F
RGBrgb(197, 64, 79)
HSLhsl(353, 53%, 51%)
HSVhsv(353, 68%, 77%)
CMYKcmyk(0%, 67.5%, 59.9%, 22.7%)
CIE-LABlab(47.11, 53.67, 21.31)
CIE-LCHlch(47.11, 57.75, 21.65°)
OKLaboklab(56.49% 0.1602 0.052)
OKLCHoklch(56.49% 0.168 18)
XYZxyz(26.2732, 16.1053, 9.1208)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5404F #40C5B6
analogous
#C54091 #C5404F #C57340
triadic
#C5404F #4FC540 #404FC5
tetradic
#C5404F #91C540 #40C5B6 #7340C5
square
#C5404F #91C540 #40C5B6 #7340C5
split-complementary
#C5404F #40C573 #4091C5
monochromatic
#6A2029 #992F3B #C5404F #D36F7A #E29EA6

Accessibility & contrast

On white

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

On black

4.22
#C5404F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5404F#FFFFFF#000000##FFFFFF
##C5404F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625E4F
Deuteranopia (green-blind)
#847A4C
Tritanopia (blue-blind)
#D72146
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5404f;
/* rgb */ color: rgb(197, 64, 79);
/* oklch */ color: oklch(56.5% 0.168 18.0);
Tailwind
colors: {
  custom: {
    50: '#dd7d80',
    500: '#c5404f',
    950: '#000000',
  },
}
SCSS
$custom: #c5404f;
$custom-light: #dd7d80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5404f",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 353.233,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.16839,
    "h": 18
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#C5404F
secondary
#93CEC7
accent
#DDCC4B
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#160A0A
muted
#847C7C

Preview Lab

Preview with #C5404F

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

Preview Lab → · Contrast checker → · Palette generator →

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