#C5402E#C5402E

#C5402E is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.0% C 0.172 H 30.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C5402E
RGBrgb(197, 64, 46)
HSLhsl(7, 62%, 48%)
HSVhsv(7, 77%, 77%)
CMYKcmyk(0%, 67.5%, 76.6%, 22.7%)
CIE-LABlab(46.63, 51.92, 39.94)
CIE-LCHlch(46.63, 65.50, 37.57°)
OKLaboklab(55.98% 0.1481 0.0882)
OKLCHoklch(55.98% 0.172 30.8)
XYZxyz(25.3554, 15.7381, 4.2869)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5402E #2EB3C5
analogous
#C52E68 #C5402E #C58B2E
triadic
#C5402E #2EC540 #402EC5
tetradic
#C5402E #68C52E #2EB3C5 #8B2EC5
square
#C5402E #68C52E #2EB3C5 #8B2EC5
split-complementary
#C5402E #2EC58B #2E68C5
monochromatic
#622017 #933022 #C5402E #D86758 #E4948A

Accessibility & contrast

On white

5.06
#C5402E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C5402E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5402E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5402E#FFFFFF#000000##FFFFFF
##C5402E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2B
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#D9163D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5402e;
/* rgb */ color: rgb(197, 64, 46);
/* oklch */ color: oklch(56.0% 0.172 30.8);
Tailwind
colors: {
  custom: {
    50: '#df7c68',
    500: '#c5402e',
    950: '#000000',
  },
}
SCSS
$custom: #c5402e;
$custom-light: #df7c68;
$custom-dark: #000000;
JSON
{
  "hex": "#c5402e",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 7.152,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.17237,
    "h": 30.8
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#C5402E
secondary
#81C4CE
accent
#D2E543
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#170A06
muted
#857C7A

Preview Lab

Preview with #C5402E

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

Preview Lab → · Contrast checker → · Palette generator →

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