#B42518#B42518

#B42518 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.181 H 29.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B42518
RGBrgb(180, 37, 24)
HSLhsl(5, 76%, 40%)
HSVhsv(5, 87%, 71%)
CMYKcmyk(0%, 79.4%, 86.7%, 29.4%)
CIE-LABlab(39.74, 55.39, 43.59)
CIE-LCHlch(39.74, 70.49, 38.20°)
OKLaboklab(50.19% 0.1566 0.0901)
OKLCHoklch(50.19% 0.181 29.9)
XYZxyz(19.6513, 11.0956, 1.9709)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42518 #18A7B4
analogous
#B41859 #B42518 #B47318
triadic
#B42518 #18B425 #2518B4
tetradic
#B42518 #59B418 #18A7B4 #7318B4
square
#B42518 #59B418 #18A7B4 #7318B4
split-complementary
#B42518 #18B473 #1859B4
monochromatic
#480F0A #7E1A11 #B42518 #E23727 #E9695D

Accessibility & contrast

On white

6.52
#B42518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B42518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42518
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42518#FFFFFF#000000##FFFFFF
##B425181.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A14
Deuteranopia (green-blind)
#76690E
Tritanopia (blue-blind)
#C70024
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42518;
/* rgb */ color: rgb(180, 37, 24);
/* oklch */ color: oklch(50.2% 0.181 29.9);
Tailwind
colors: {
  custom: {
    50: '#d56d58',
    500: '#b42518',
    950: '#000000',
  },
}
SCSS
$custom: #b42518;
$custom-light: #d56d58;
$custom-dark: #000000;
JSON
{
  "hex": "#b42518",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 5,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.18069,
    "h": 29.9
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#B42518
secondary
#5BC4CD
accent
#E3F335
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42518

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

Preview Lab → · Contrast checker → · Palette generator →

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