#B7342A#B7342A

#B7342A is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.2% C 0.169 H 28.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B7342A
RGBrgb(183, 52, 42)
HSLhsl(4, 63%, 44%)
HSVhsv(4, 77%, 72%)
CMYKcmyk(0%, 71.6%, 77%, 28.2%)
CIE-LABlab(42.30, 51.83, 36.77)
CIE-LCHlch(42.30, 63.55, 35.35°)
OKLaboklab(52.25% 0.1486 0.0812)
OKLCHoklch(52.25% 0.169 28.7)
XYZxyz(21.1768, 12.6937, 3.5251)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7342A #2AADB7
analogous
#B72A67 #B7342A #B77B2A
triadic
#B7342A #2AB734 #342AB7
tetradic
#B7342A #67B72A #2AADB7 #7B2AB7
square
#B7342A #67B72A #2AADB7 #7B2AB7
split-complementary
#B7342A #2AB77B #2A67B7
monochromatic
#531813 #85261F #B7342A #D55349 #E1827B

Accessibility & contrast

On white

5.94
#B7342A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B7342A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7342A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7342A#FFFFFF#000000##FFFFFF
##B7342A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#CA0033
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b7342a;
/* rgb */ color: rgb(183, 52, 42);
/* oklch */ color: oklch(52.2% 0.169 28.7);
Tailwind
colors: {
  custom: {
    50: '#d57464',
    500: '#b7342a',
    950: '#000000',
  },
}
SCSS
$custom: #b7342a;
$custom-light: #d57464;
$custom-dark: #000000;
JSON
{
  "hex": "#b7342a",
  "rgb": {
    "r": 183,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 4.255,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.16934,
    "h": 28.7
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#B7342A
secondary
#74C3C9
accent
#DAE642
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B7342A

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

Preview Lab → · Contrast checker → · Palette generator →

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