#B42815#B42815

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

Color values

HEX#B42815
RGBrgb(180, 40, 21)
HSLhsl(7, 79%, 39%)
HSVhsv(7, 88%, 71%)
CMYKcmyk(0%, 77.8%, 88.3%, 29.4%)
CIE-LABlab(40.05, 54.42, 45.23)
CIE-LCHlch(40.05, 70.76, 39.73°)
OKLaboklab(50.41% 0.1531 0.0925)
OKLCHoklch(50.41% 0.179 31.1)
XYZxyz(19.7190, 11.2782, 1.8480)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42815 #15A1B4
analogous
#B41552 #B42815 #B47815
triadic
#B42815 #15B428 #2815B4
tetradic
#B42815 #52B415 #15A1B4 #7815B4
square
#B42815 #52B415 #15A1B4 #7815B4
split-complementary
#B42815 #15B478 #1552B4
monochromatic
#461008 #7D1C0F #B42815 #E53921 #EC6A58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42815#FFFFFF#000000##FFFFFF
##B428151.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)
#554B10
Deuteranopia (green-blind)
#776909
Tritanopia (blue-blind)
#C70026
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42815;
/* rgb */ color: rgb(180, 40, 21);
/* oklch */ color: oklch(50.4% 0.179 31.1);
Tailwind
colors: {
  custom: {
    50: '#d56e56',
    500: '#b42815',
    950: '#000000',
  },
}
SCSS
$custom: #b42815;
$custom-light: #d56e56;
$custom-dark: #000000;
JSON
{
  "hex": "#b42815",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 21
  },
  "hsl": {
    "h": 7.17,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.17892,
    "h": 31.1
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#B42815
secondary
#56C0CF
accent
#DEF632
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42815

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

Preview Lab → · Contrast checker → · Palette generator →

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