#B42918#B42918

#B42918 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.178 H 30.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B42918
RGBrgb(180, 41, 24)
HSLhsl(7, 76%, 40%)
HSVhsv(7, 87%, 71%)
CMYKcmyk(0%, 77.2%, 86.7%, 29.4%)
CIE-LABlab(40.18, 54.17, 43.96)
CIE-LCHlch(40.18, 69.76, 39.06°)
OKLaboklab(50.51% 0.1528 0.0909)
OKLCHoklch(50.51% 0.178 30.8)
XYZxyz(19.7827, 11.3583, 2.0147)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42918 #18A3B4
analogous
#B41855 #B42918 #B47718
triadic
#B42918 #18B429 #2918B4
tetradic
#B42918 #55B418 #18A3B4 #7718B4
square
#B42918 #55B418 #18A3B4 #7718B4
split-complementary
#B42918 #18B477 #1855B4
monochromatic
#48100A #7E1D11 #B42918 #E23B27 #E96C5D

Accessibility & contrast

On white

6.42
#B42918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B42918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42918
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42918#FFFFFF#000000##FFFFFF
##B429181.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B14
Deuteranopia (green-blind)
#776A0E
Tritanopia (blue-blind)
#C70027
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42918;
/* rgb */ color: rgb(180, 41, 24);
/* oklch */ color: oklch(50.5% 0.178 30.8);
Tailwind
colors: {
  custom: {
    50: '#d56f58',
    500: '#b42918',
    950: '#000000',
  },
}
SCSS
$custom: #b42918;
$custom-light: #d56f58;
$custom-dark: #000000;
JSON
{
  "hex": "#b42918",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 24
  },
  "hsl": {
    "h": 6.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.17784,
    "h": 30.8
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#B42918
secondary
#5BC1CD
accent
#DEF335
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42918

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

Preview Lab → · Contrast checker → · Palette generator →

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