#B7402A#B7402A

#B7402A is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.6% C 0.158 H 32.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B7402A
RGBrgb(183, 64, 42)
HSLhsl(9, 63%, 44%)
HSVhsv(9, 77%, 72%)
CMYKcmyk(0%, 65%, 77%, 28.2%)
CIE-LABlab(44.10, 46.95, 38.68)
CIE-LCHlch(44.10, 60.83, 39.48°)
OKLaboklab(53.6% 0.1333 0.0854)
OKLCHoklch(53.6% 0.158 32.6)
XYZxyz(21.7822, 13.9044, 3.7269)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7402A #2AA1B7
analogous
#B72A5A #B7402A #B7872A
triadic
#B7402A #2AB740 #402AB7
tetradic
#B7402A #5AB72A #2AA1B7 #872AB7
square
#B7402A #5AB72A #2AA1B7 #872AB7
split-complementary
#B7402A #2AB787 #2A5AB7
monochromatic
#531D13 #852F1F #B7402A #D55F49 #E18B7B

Accessibility & contrast

On white

5.56
#B7402A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B7402A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7402A
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7402A#FFFFFF#000000##FFFFFF
##B7402A1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625827
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#C91F3C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b7402a;
/* rgb */ color: rgb(183, 64, 42);
/* oklch */ color: oklch(53.6% 0.158 32.6);
Tailwind
colors: {
  custom: {
    50: '#d57b65',
    500: '#b7402a',
    950: '#000000',
  },
}
SCSS
$custom: #b7402a;
$custom-light: #d57b65;
$custom-dark: #000000;
JSON
{
  "hex": "#b7402a",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 9.362,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.15831,
    "h": 32.6
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#B7402A
secondary
#74BCC9
accent
#CCE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #B7402A

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

Preview Lab → · Contrast checker → · Palette generator →

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