#B42E1B#B42E1B

#B42E1B is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.174 H 31.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B42E1B
RGBrgb(180, 46, 27)
HSLhsl(7, 74%, 41%)
HSVhsv(7, 85%, 71%)
CMYKcmyk(0%, 74.4%, 85%, 29.4%)
CIE-LABlab(40.80, 52.57, 43.05)
CIE-LCHlch(40.80, 67.95, 39.31°)
OKLaboklab(50.98% 0.1484 0.0902)
OKLCHoklch(50.98% 0.174 31.3)
XYZxyz(19.9997, 11.7396, 2.2496)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E1B #1BA1B4
analogous
#B41B54 #B42E1B #B47A1B
triadic
#B42E1B #1BB42E #2E1BB4
tetradic
#B42E1B #54B41B #1BA1B4 #7A1BB4
square
#B42E1B #54B41B #1BA1B4 #7A1BB4
split-complementary
#B42E1B #1BB47A #1B54B4
monochromatic
#4A130B #7F2013 #B42E1B #DF432D #E77362

Accessibility & contrast

On white

6.27
#B42E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B42E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E1B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E1B#FFFFFF#000000##FFFFFF
##B42E1B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#786B13
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42e1b;
/* rgb */ color: rgb(180, 46, 27);
/* oklch */ color: oklch(51.0% 0.174 31.3);
Tailwind
colors: {
  custom: {
    50: '#d4715a',
    500: '#b42e1b',
    950: '#000000',
  },
}
SCSS
$custom: #b42e1b;
$custom-light: #d4715a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e1b",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 7.451,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.1736,
    "h": 31.3
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#B42E1B
secondary
#5FBECC
accent
#DAF137
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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