#C42826#C42826

#C42826 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.5% C 0.192 H 27.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C42826
RGBrgb(196, 40, 38)
HSLhsl(1, 68%, 46%)
HSVhsv(1, 81%, 77%)
CMYKcmyk(0%, 79.6%, 80.6%, 23.1%)
CIE-LABlab(43.36, 59.64, 40.86)
CIE-LCHlch(43.36, 72.30, 34.42°)
OKLaboklab(53.47% 0.1708 0.0878)
OKLCHoklch(53.47% 0.192 27.2)
XYZxyz(23.8765, 13.3972, 3.1621)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42826 #26C2C4
analogous
#C42673 #C42826 #C47726
triadic
#C42826 #26C428 #2826C4
tetradic
#C42826 #73C426 #26C2C4 #7726C4
square
#C42826 #73C426 #26C2C4 #7726C4
split-complementary
#C42826 #26C477 #2673C4
monochromatic
#5D1312 #911E1C #C42826 #DC4D4B #E6807E

Accessibility & contrast

On white

5.71
#C42826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#C42826 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42826
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42826#FFFFFF#000000##FFFFFF
##C428261.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5124
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#D8002A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c42826;
/* rgb */ color: rgb(196, 40, 38);
/* oklch */ color: oklch(53.5% 0.192 27.2);
Tailwind
colors: {
  custom: {
    50: '#e07161',
    500: '#c42826',
    950: '#000000',
  },
}
SCSS
$custom: #c42826;
$custom-light: #e07161;
$custom-dark: #000000;
JSON
{
  "hex": "#c42826",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 0.759,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.19208,
    "h": 27.2
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#C42826
secondary
#77CDCE
accent
#E8EA3D
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C42826

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

Preview Lab → · Contrast checker → · Palette generator →

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