#B42A18#B42A18

#B42A18 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.177 H 31.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B42A18
RGBrgb(180, 42, 24)
HSLhsl(7, 76%, 40%)
HSVhsv(7, 87%, 71%)
CMYKcmyk(0%, 76.7%, 86.7%, 29.4%)
CIE-LABlab(40.29, 53.85, 44.06)
CIE-LCHlch(40.29, 69.57, 39.29°)
OKLaboklab(50.6% 0.1518 0.0912)
OKLCHoklch(50.6% 0.177 31)
XYZxyz(19.8177, 11.4284, 2.0264)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A18 #18A2B4
analogous
#B41854 #B42A18 #B47818
triadic
#B42A18 #18B42A #2A18B4
tetradic
#B42A18 #54B418 #18A2B4 #7818B4
square
#B42A18 #54B418 #18A2B4 #7818B4
split-complementary
#B42A18 #18B478 #1854B4
monochromatic
#48110A #7E1D11 #B42A18 #E23D27 #E96D5D

Accessibility & contrast

On white

6.39
#B42A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B42A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A18
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A18#FFFFFF#000000##FFFFFF
##B42A181.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C13
Deuteranopia (green-blind)
#776A0E
Tritanopia (blue-blind)
#C70028
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42a18;
/* rgb */ color: rgb(180, 42, 24);
/* oklch */ color: oklch(50.6% 0.177 31.0);
Tailwind
colors: {
  custom: {
    50: '#d46f58',
    500: '#b42a18',
    950: '#000000',
  },
}
SCSS
$custom: #b42a18;
$custom-light: #d46f58;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a18",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 6.923,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.50596,
    "c": 0.1771,
    "h": 31
  },
  "luminance": 0.11425
}

Semantic roles & 50–950 ramp

primary
#B42A18
secondary
#5BC0CD
accent
#DDF335
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42A18

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

Preview Lab → · Contrast checker → · Palette generator →

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