#B42D18#B42D18

#B42D18 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.9% C 0.175 H 31.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B42D18
RGBrgb(180, 45, 24)
HSLhsl(8, 76%, 40%)
HSVhsv(8, 87%, 71%)
CMYKcmyk(0%, 75%, 86.7%, 29.4%)
CIE-LABlab(40.65, 52.84, 44.36)
CIE-LCHlch(40.65, 68.99, 40.01°)
OKLaboklab(50.86% 0.1487 0.0919)
OKLCHoklch(50.86% 0.175 31.7)
XYZxyz(19.9281, 11.6492, 2.0632)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D18 #189FB4
analogous
#B41851 #B42D18 #B47B18
triadic
#B42D18 #18B42D #2D18B4
tetradic
#B42D18 #51B418 #189FB4 #7B18B4
square
#B42D18 #51B418 #189FB4 #7B18B4
split-complementary
#B42D18 #18B47B #1851B4
monochromatic
#48120A #7E1F11 #B42D18 #E24027 #E9705D

Accessibility & contrast

On white

6.31
#B42D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B42D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42D18
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D18#FFFFFF#000000##FFFFFF
##B42D181.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#786B0F
Tritanopia (blue-blind)
#C7002A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42d18;
/* rgb */ color: rgb(180, 45, 24);
/* oklch */ color: oklch(50.9% 0.175 31.7);
Tailwind
colors: {
  custom: {
    50: '#d47058',
    500: '#b42d18',
    950: '#000000',
  },
}
SCSS
$custom: #b42d18;
$custom-light: #d47058;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d18",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 8.077,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.50864,
    "c": 0.1748,
    "h": 31.7
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#B42D18
secondary
#5BBECD
accent
#D9F335
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42D18

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

Preview Lab → · Contrast checker → · Palette generator →

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