#C42E1F#C42E1F

#C42E1F is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.9% C 0.189 H 30.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#C42E1F
RGBrgb(196, 46, 31)
HSLhsl(5, 73%, 45%)
HSVhsv(5, 84%, 77%)
CMYKcmyk(0%, 76.5%, 84.2%, 23.1%)
CIE-LABlab(43.93, 57.66, 45.05)
CIE-LCHlch(43.93, 73.17, 38.00°)
OKLaboklab(53.88% 0.1633 0.0945)
OKLCHoklch(53.88% 0.189 30)
XYZxyz(23.9922, 13.7925, 2.6950)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42E1F #1FB5C4
analogous
#C41F62 #C42E1F #C4811F
triadic
#C42E1F #1FC42E #2E1FC4
tetradic
#C42E1F #62C41F #1FB5C4 #811FC4
square
#C42E1F #62C41F #1FB5C4 #811FC4
split-complementary
#C42E1F #1FC481 #1F62C4
monochromatic
#5A150E #8F2217 #C42E1F #E14E3F #E97F74

Accessibility & contrast

On white

5.59
#C42E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#C42E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42E1F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42E1F#FFFFFF#000000##FFFFFF
##C42E1F1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531B
Deuteranopia (green-blind)
#827416
Tritanopia (blue-blind)
#D8002C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c42e1f;
/* rgb */ color: rgb(196, 46, 31);
/* oklch */ color: oklch(53.9% 0.189 30.0);
Tailwind
colors: {
  custom: {
    50: '#e0735d',
    500: '#c42e1f',
    950: '#000000',
  },
}
SCSS
$custom: #c42e1f;
$custom-light: #e0735d;
$custom-dark: #000000;
JSON
{
  "hex": "#c42e1f",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 5.455,
    "s": 72.687,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.18867,
    "h": 30
  },
  "luminance": 0.13789
}

Semantic roles & 50–950 ramp

primary
#C42E1F
secondary
#6FC7D0
accent
#DFEF38
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79

Preview Lab

Preview with #C42E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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