#B42D1B#B42D1B

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

Color values

HEX#B42D1B
RGBrgb(180, 45, 27)
HSLhsl(7, 74%, 41%)
HSVhsv(7, 85%, 71%)
CMYKcmyk(0%, 75%, 85%, 29.4%)
CIE-LABlab(40.67, 52.92, 42.94)
CIE-LCHlch(40.67, 68.15, 39.06°)
OKLaboklab(50.89% 0.1494 0.0899)
OKLCHoklch(50.89% 0.174 31)
XYZxyz(19.9610, 11.6624, 2.2367)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D1B #1BA2B4
analogous
#B41B55 #B42D1B #B4791B
triadic
#B42D1B #1BB42D #2D1BB4
tetradic
#B42D1B #55B41B #1BA2B4 #791BB4
square
#B42D1B #55B41B #1BA2B4 #791BB4
split-complementary
#B42D1B #1BB479 #1B55B4
monochromatic
#4A120B #7F2013 #B42D1B #DF422D #E77262

Accessibility & contrast

On white

6.30
#B42D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42D1B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D1B#FFFFFF#000000##FFFFFF
##B42D1B1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42d1b;
/* rgb */ color: rgb(180, 45, 27);
/* oklch */ color: oklch(50.9% 0.174 31.0);
Tailwind
colors: {
  custom: {
    50: '#d4705a',
    500: '#b42d1b',
    950: '#000000',
  },
}
SCSS
$custom: #b42d1b;
$custom-light: #d4705a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d1b",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 27
  },
  "hsl": {
    "h": 7.059,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.1744,
    "h": 31
  },
  "luminance": 0.11659
}

Semantic roles & 50–950 ramp

primary
#B42D1B
secondary
#5FBFCC
accent
#DBF137
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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