#C7402A#C7402A

#C7402A is a mid, vivid red. Relative luminance 0.160; OKLCH L 56.3% C 0.175 H 31.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C7402A
RGBrgb(199, 64, 42)
HSLhsl(8, 65%, 47%)
HSVhsv(8, 79%, 78%)
CMYKcmyk(0%, 67.8%, 78.9%, 22%)
CIE-LABlab(46.95, 52.44, 42.52)
CIE-LCHlch(46.95, 67.51, 39.03°)
OKLaboklab(56.27% 0.1488 0.0925)
OKLCHoklch(56.27% 0.175 31.9)
XYZxyz(25.8075, 15.9799, 3.9156)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7402A #2AB1C7
analogous
#C72A62 #C7402A #C78F2A
triadic
#C7402A #2AC740 #402AC7
tetradic
#C7402A #62C72A #2AB1C7 #8F2AC7
square
#C7402A #62C72A #2AB1C7 #8F2AC7
split-complementary
#C7402A #2AC78F #2A62C7
monochromatic
#621F15 #94301F #C7402A #DB6653 #E59386

Accessibility & contrast

On white

5.01
#C7402A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C7402A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7402A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7402A#FFFFFF#000000##FFFFFF
##C7402A1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C26
Deuteranopia (green-blind)
#897A24
Tritanopia (blue-blind)
#DB133C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c7402a;
/* rgb */ color: rgb(199, 64, 42);
/* oklch */ color: oklch(56.3% 0.175 31.9);
Tailwind
colors: {
  custom: {
    50: '#e17c65',
    500: '#c7402a',
    950: '#000000',
  },
}
SCSS
$custom: #c7402a;
$custom-light: #e17c65;
$custom-dark: #000000;
JSON
{
  "hex": "#c7402a",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 8.408,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56269,
    "c": 0.17517,
    "h": 31.9
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#C7402A
secondary
#7EC3CF
accent
#D1E840
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170A06
muted
#857C7A

Preview Lab

Preview with #C7402A

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

Preview Lab → · Contrast checker → · Palette generator →

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