#C5402F#C5402F

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

Color values

HEX#C5402F
RGBrgb(197, 64, 47)
HSLhsl(7, 61%, 48%)
HSVhsv(7, 76%, 77%)
CMYKcmyk(0%, 67.5%, 76.1%, 22.7%)
CIE-LABlab(46.64, 51.96, 39.41)
CIE-LCHlch(46.64, 65.21, 37.18°)
OKLaboklab(55.99% 0.1484 0.0873)
OKLCHoklch(55.99% 0.172 30.5)
XYZxyz(25.3753, 15.7461, 4.3919)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5402F #2FB4C5
analogous
#C52F69 #C5402F #C58B2F
triadic
#C5402F #2FC540 #402FC5
tetradic
#C5402F #69C52F #2FB4C5 #8B2FC5
square
#C5402F #69C52F #2FB4C5 #8B2FC5
split-complementary
#C5402F #2FC58B #2F69C5
monochromatic
#622017 #943023 #C5402F #D8685A #E3958B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5402F#FFFFFF#000000##FFFFFF
##C5402F1.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)
#665C2C
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#D9163D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5402f;
/* rgb */ color: rgb(197, 64, 47);
/* oklch */ color: oklch(56.0% 0.172 30.5);
Tailwind
colors: {
  custom: {
    50: '#df7c69',
    500: '#c5402f',
    950: '#000000',
  },
}
SCSS
$custom: #c5402f;
$custom-light: #df7c69;
$custom-dark: #000000;
JSON
{
  "hex": "#c5402f",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 6.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.17218,
    "h": 30.5
  },
  "luminance": 0.15742
}

Semantic roles & 50–950 ramp

primary
#C5402F
secondary
#82C5CD
accent
#D2E543
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#170A06
muted
#857C7A

Preview Lab

Preview with #C5402F

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

Preview Lab → · Contrast checker → · Palette generator →

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