#B42718#B42718

#B42718 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.179 H 30.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B42718
RGBrgb(180, 39, 24)
HSLhsl(6, 76%, 40%)
HSVhsv(6, 87%, 71%)
CMYKcmyk(0%, 78.3%, 86.7%, 29.4%)
CIE-LABlab(39.95, 54.79, 43.77)
CIE-LCHlch(39.95, 70.13, 38.62°)
OKLaboklab(50.34% 0.1548 0.0905)
OKLCHoklch(50.34% 0.179 30.3)
XYZxyz(19.7152, 11.2235, 1.9923)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42718 #18A5B4
analogous
#B41857 #B42718 #B47518
triadic
#B42718 #18B427 #2718B4
tetradic
#B42718 #57B418 #18A5B4 #7518B4
square
#B42718 #57B418 #18A5B4 #7518B4
split-complementary
#B42718 #18B475 #1857B4
monochromatic
#48100A #7E1B11 #B42718 #E23927 #E96A5D

Accessibility & contrast

On white

6.47
#B42718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B42718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42718
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42718#FFFFFF#000000##FFFFFF
##B427181.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A14
Deuteranopia (green-blind)
#77690E
Tritanopia (blue-blind)
#C70026
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42718;
/* rgb */ color: rgb(180, 39, 24);
/* oklch */ color: oklch(50.3% 0.179 30.3);
Tailwind
colors: {
  custom: {
    50: '#d56e58',
    500: '#b42718',
    950: '#000000',
  },
}
SCSS
$custom: #b42718;
$custom-light: #d56e58;
$custom-dark: #000000;
JSON
{
  "hex": "#b42718",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 5.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.50344,
    "c": 0.17929,
    "h": 30.3
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#B42718
secondary
#5BC2CD
accent
#E1F335
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42718

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

Preview Lab → · Contrast checker → · Palette generator →

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