#B42A15#B42A15

#B42A15 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.177 H 31.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B42A15
RGBrgb(180, 42, 21)
HSLhsl(8, 79%, 39%)
HSVhsv(8, 88%, 71%)
CMYKcmyk(0%, 76.7%, 88.3%, 29.4%)
CIE-LABlab(40.27, 53.78, 45.41)
CIE-LCHlch(40.27, 70.39, 40.18°)
OKLaboklab(50.58% 0.1512 0.093)
OKLCHoklch(50.58% 0.177 31.6)
XYZxyz(19.7882, 11.4166, 1.8710)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A15 #159FB4
analogous
#B4154F #B42A15 #B47A15
triadic
#B42A15 #15B42A #2A15B4
tetradic
#B42A15 #4FB415 #159FB4 #7A15B4
square
#B42A15 #4FB415 #159FB4 #7A15B4
split-complementary
#B42A15 #15B47A #154FB4
monochromatic
#461008 #7D1D0F #B42A15 #E53B21 #EC6B58

Accessibility & contrast

On white

6.40
#B42A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B42A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A15
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A15#FFFFFF#000000##FFFFFF
##B42A151.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B10
Deuteranopia (green-blind)
#776A09
Tritanopia (blue-blind)
#C70027
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42a15;
/* rgb */ color: rgb(180, 42, 21);
/* oklch */ color: oklch(50.6% 0.177 31.6);
Tailwind
colors: {
  custom: {
    50: '#d56f56',
    500: '#b42a15',
    950: '#000000',
  },
}
SCSS
$custom: #b42a15;
$custom-light: #d56f56;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a15",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 21
  },
  "hsl": {
    "h": 7.925,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.17746,
    "h": 31.6
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#B42A15
secondary
#56BFCF
accent
#DCF632
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42A15

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

Preview Lab → · Contrast checker → · Palette generator →

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