#B42819#B42819

#B42819 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.178 H 30.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B42819
RGBrgb(180, 40, 25)
HSLhsl(6, 76%, 40%)
HSVhsv(6, 86%, 71%)
CMYKcmyk(0%, 77.8%, 86.1%, 29.4%)
CIE-LABlab(40.07, 54.51, 43.39)
CIE-LCHlch(40.07, 69.67, 38.52°)
OKLaboklab(50.43% 0.1541 0.0901)
OKLCHoklch(50.43% 0.178 30.3)
XYZxyz(19.7591, 11.2943, 2.0591)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42819 #19A5B4
analogous
#B41958 #B42819 #B47519
triadic
#B42819 #19B428 #2819B4
tetradic
#B42819 #58B419 #19A5B4 #7519B4
square
#B42819 #58B419 #19A5B4 #7519B4
split-complementary
#B42819 #19B475 #1958B4
monochromatic
#49100A #7E1C12 #B42819 #E13B29 #E96C5F

Accessibility & contrast

On white

6.45
#B42819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B42819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42819
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42819#FFFFFF#000000##FFFFFF
##B428191.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B15
Deuteranopia (green-blind)
#77690F
Tritanopia (blue-blind)
#C70026
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42819;
/* rgb */ color: rgb(180, 40, 25);
/* oklch */ color: oklch(50.4% 0.178 30.3);
Tailwind
colors: {
  custom: {
    50: '#d56e59',
    500: '#b42819',
    950: '#000000',
  },
}
SCSS
$custom: #b42819;
$custom-light: #d56e59;
$custom-dark: #000000;
JSON
{
  "hex": "#b42819",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 25
  },
  "hsl": {
    "h": 5.806,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.17845,
    "h": 30.3
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#B42819
secondary
#5CC2CD
accent
#E0F236
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42819

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

Preview Lab → · Contrast checker → · Palette generator →

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