#B42D1F#B42D1F

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

Color values

HEX#B42D1F
RGBrgb(180, 45, 31)
HSLhsl(6, 71%, 41%)
HSVhsv(6, 83%, 71%)
CMYKcmyk(0%, 75%, 82.8%, 29.4%)
CIE-LABlab(40.71, 53.02, 40.95)
CIE-LCHlch(40.71, 66.99, 37.68°)
OKLaboklab(50.92% 0.1505 0.087)
OKLCHoklch(50.92% 0.174 30)
XYZxyz(20.0105, 11.6822, 2.4973)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D1F #1FA6B4
analogous
#B41F5B #B42D1F #B4781F
triadic
#B42D1F #1FB42D #2D1FB4
tetradic
#B42D1F #5BB41F #1FA6B4 #781FB4
square
#B42D1F #5BB41F #1FA6B4 #781FB4
split-complementary
#B42D1F #1FB478 #1F5BB4
monochromatic
#4C130D #802016 #B42D1F #DC4434 #E57468

Accessibility & contrast

On white

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

On black

3.34
#B42D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B42D1F#FFFFFF#000000##FFFFFF
##B42D1F1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42d1f;
/* rgb */ color: rgb(180, 45, 31);
/* oklch */ color: oklch(50.9% 0.174 30.0);
Tailwind
colors: {
  custom: {
    50: '#d4715d',
    500: '#b42d1f',
    950: '#000000',
  },
}
SCSS
$custom: #b42d1f;
$custom-light: #d4715d;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d1f",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 31
  },
  "hsl": {
    "h": 5.638,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.17384,
    "h": 30
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#B42D1F
secondary
#64C1CB
accent
#DDED3A
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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