#C42827#C42827

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

Color values

HEX#C42827
RGBrgb(196, 40, 39)
HSLhsl(0, 67%, 46%)
HSVhsv(0, 80%, 77%)
CMYKcmyk(0%, 79.6%, 80.1%, 23.1%)
CIE-LABlab(43.37, 59.67, 40.33)
CIE-LCHlch(43.37, 72.02, 34.05°)
OKLaboklab(53.48% 0.1711 0.087)
OKLCHoklch(53.48% 0.192 26.9)
XYZxyz(23.8929, 13.4037, 3.2482)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42827 #27C3C4
analogous
#C42774 #C42827 #C47627
triadic
#C42827 #27C428 #2827C4
tetradic
#C42827 #74C427 #27C3C4 #7627C4
square
#C42827 #74C427 #27C3C4 #7627C4
split-complementary
#C42827 #27C476 #2774C4
monochromatic
#5E1313 #911E1D #C42827 #DC4E4D #E68080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C42827#FFFFFF#000000##FFFFFF
##C428271.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)
#5A5125
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#D8002A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c42827;
/* rgb */ color: rgb(196, 40, 39);
/* oklch */ color: oklch(53.5% 0.192 26.9);
Tailwind
colors: {
  custom: {
    50: '#e07162',
    500: '#c42827',
    950: '#000000',
  },
}
SCSS
$custom: #c42827;
$custom-light: #e07162;
$custom-dark: #000000;
JSON
{
  "hex": "#c42827",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.382,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53483,
    "c": 0.19197,
    "h": 26.9
  },
  "luminance": 0.134
}

Semantic roles & 50–950 ramp

primary
#C42827
secondary
#79CECE
accent
#E9EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C42827

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

Preview Lab → · Contrast checker → · Palette generator →

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