#B42F1F#B42F1F

#B42F1F is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.172 H 30.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B42F1F
RGBrgb(180, 47, 31)
HSLhsl(6, 71%, 41%)
HSVhsv(6, 83%, 71%)
CMYKcmyk(0%, 73.9%, 82.8%, 29.4%)
CIE-LABlab(40.96, 52.32, 41.18)
CIE-LCHlch(40.96, 66.59, 38.20°)
OKLaboklab(51.11% 0.1483 0.0876)
OKLCHoklch(51.11% 0.172 30.6)
XYZxyz(20.0886, 11.8384, 2.5234)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F1F #1FA4B4
analogous
#B41F5A #B42F1F #B47A1F
triadic
#B42F1F #1FB42F #2F1FB4
tetradic
#B42F1F #5AB41F #1FA4B4 #7A1FB4
square
#B42F1F #5AB41F #1FA4B4 #7A1FB4
split-complementary
#B42F1F #1FB47A #1F5AB4
monochromatic
#4C140D #802116 #B42F1F #DC4634 #E57668

Accessibility & contrast

On white

6.24
#B42F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B42F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F1F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F1F#FFFFFF#000000##FFFFFF
##B42F1F1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1B
Deuteranopia (green-blind)
#786B18
Tritanopia (blue-blind)
#C7002D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42f1f;
/* rgb */ color: rgb(180, 47, 31);
/* oklch */ color: oklch(51.1% 0.172 30.6);
Tailwind
colors: {
  custom: {
    50: '#d4715d',
    500: '#b42f1f',
    950: '#000000',
  },
}
SCSS
$custom: #b42f1f;
$custom-light: #d4715d;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f1f",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 6.443,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.17222,
    "h": 30.6
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#B42F1F
secondary
#64C0CB
accent
#DAED3A
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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