#B42018#B42018

#B42018 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.184 H 29.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B42018
RGBrgb(180, 32, 24)
HSLhsl(3, 76%, 40%)
HSVhsv(3, 87%, 71%)
CMYKcmyk(0%, 82.2%, 86.7%, 29.4%)
CIE-LABlab(39.25, 56.78, 43.18)
CIE-LCHlch(39.25, 71.33, 37.25°)
OKLaboklab(49.82% 0.161 0.0891)
OKLCHoklch(49.82% 0.184 29)
XYZxyz(19.5063, 10.8055, 1.9226)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42018 #18ACB4
analogous
#B4185E #B42018 #B46E18
triadic
#B42018 #18B420 #2018B4
tetradic
#B42018 #5EB418 #18ACB4 #6E18B4
square
#B42018 #5EB418 #18ACB4 #6E18B4
split-complementary
#B42018 #18B46E #185EB4
monochromatic
#480D0A #7E1611 #B42018 #E23127 #E9645D

Accessibility & contrast

On white

6.64
#B42018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B42018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42018
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42018#FFFFFF#000000##FFFFFF
##B420181.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514814
Deuteranopia (green-blind)
#75680D
Tritanopia (blue-blind)
#C70021
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b42018;
/* rgb */ color: rgb(180, 32, 24);
/* oklch */ color: oklch(49.8% 0.184 29.0);
Tailwind
colors: {
  custom: {
    50: '#d56b57',
    500: '#b42018',
    950: '#000000',
  },
}
SCSS
$custom: #b42018;
$custom-light: #d56b57;
$custom-dark: #000000;
JSON
{
  "hex": "#b42018",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 3.077,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.18399,
    "h": 29
  },
  "luminance": 0.10802
}

Semantic roles & 50–950 ramp

primary
#B42018
secondary
#5BC7CD
accent
#E9F335
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160803
muted
#847A78

Preview Lab

Preview with #B42018

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

Preview Lab → · Contrast checker → · Palette generator →

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