#C42831#C42831

#C42831 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.6% C 0.191 H 24.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#C42831
RGBrgb(196, 40, 49)
HSLhsl(357, 66%, 46%)
HSVhsv(357, 80%, 77%)
CMYKcmyk(0%, 79.6%, 75%, 23.1%)
CIE-LABlab(43.48, 60.02, 34.76)
CIE-LCHlch(43.48, 69.36, 30.08°)
OKLaboklab(53.6% 0.1744 0.0778)
OKLCHoklch(53.6% 0.191 24)
XYZxyz(24.0810, 13.4789, 4.2389)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42831 #28C4BB
analogous
#C4287F #C42831 #C46D28
triadic
#C42831 #31C428 #2831C4
tetradic
#C42831 #7FC428 #28C4BB #6D28C4
square
#C42831 #7FC428 #28C4BB #6D28C4
split-complementary
#C42831 #28C46D #287FC4
monochromatic
#5E1318 #911E24 #C42831 #DB4E56 #E58187

Accessibility & contrast

On white

5.68
#C42831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#C42831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42831
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42831#FFFFFF#000000##FFFFFF
##C428311.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595130
Deuteranopia (green-blind)
#7F732B
Tritanopia (blue-blind)
#D8002D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c42831;
/* rgb */ color: rgb(196, 40, 49);
/* oklch */ color: oklch(53.6% 0.191 24.0);
Tailwind
colors: {
  custom: {
    50: '#df7169',
    500: '#c42831',
    950: '#000000',
  },
}
SCSS
$custom: #c42831;
$custom-light: #df7169;
$custom-dark: #000000;
JSON
{
  "hex": "#c42831",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 356.538,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.536,
    "c": 0.19091,
    "h": 24
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#C42831
secondary
#7ACEC9
accent
#E9DF3F
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C42831

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

Preview Lab → · Contrast checker → · Palette generator →

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