#B42F19#B42F19

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

Color values

HEX#B42F19
RGBrgb(180, 47, 25)
HSLhsl(9, 76%, 40%)
HSVhsv(9, 86%, 71%)
CMYKcmyk(0%, 73.9%, 86.1%, 29.4%)
CIE-LABlab(40.91, 52.17, 44.11)
CIE-LCHlch(40.91, 68.32, 40.22°)
OKLaboklab(51.06% 0.1468 0.0917)
OKLCHoklch(51.06% 0.173 32)
XYZxyz(20.0168, 11.8097, 2.1450)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F19 #199EB4
analogous
#B41951 #B42F19 #B47C19
triadic
#B42F19 #19B42F #2F19B4
tetradic
#B42F19 #51B419 #199EB4 #7C19B4
square
#B42F19 #51B419 #199EB4 #7C19B4
split-complementary
#B42F19 #19B47C #1951B4
monochromatic
#49130A #7E2112 #B42F19 #E14329 #E9725F

Accessibility & contrast

On white

6.25
#B42F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B42F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F19
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F19#FFFFFF#000000##FFFFFF
##B42F191.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E14
Deuteranopia (green-blind)
#796B10
Tritanopia (blue-blind)
#C7002C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42f19;
/* rgb */ color: rgb(180, 47, 25);
/* oklch */ color: oklch(51.1% 0.173 32.0);
Tailwind
colors: {
  custom: {
    50: '#d47159',
    500: '#b42f19',
    950: '#000000',
  },
}
SCSS
$custom: #b42f19;
$custom-light: #d47159;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f19",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 25
  },
  "hsl": {
    "h": 8.516,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.17308,
    "h": 32
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#B42F19
secondary
#5CBDCD
accent
#D7F236
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42F19

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

Preview Lab → · Contrast checker → · Palette generator →

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