#B0342A#B0342A

#B0342A is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.0% C 0.162 H 28.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B0342A
RGBrgb(176, 52, 42)
HSLhsl(4, 61%, 43%)
HSVhsv(4, 76%, 69%)
CMYKcmyk(0%, 70.5%, 76.1%, 31%)
CIE-LABlab(40.99, 49.53, 34.97)
CIE-LCHlch(40.99, 60.63, 35.23°)
OKLaboklab(51.03% 0.1422 0.0778)
OKLCHoklch(51.03% 0.162 28.7)
XYZxyz(19.5526, 11.8562, 3.4490)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0342A #2AA6B0
analogous
#B02A63 #B0342A #B0772A
triadic
#B0342A #2AB034 #342AB0
tetradic
#B0342A #63B02A #2AA6B0 #772AB0
square
#B0342A #63B02A #2AA6B0 #772AB0
split-complementary
#B0342A #2AB077 #2A63B0
monochromatic
#4D1712 #7F251E #B0342A #D34F45 #DE7E76

Accessibility & contrast

On white

6.23
#B0342A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B0342A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0342A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0342A#FFFFFF#000000##FFFFFF
##B0342A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F28
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#C20433
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b0342a;
/* rgb */ color: rgb(176, 52, 42);
/* oklch */ color: oklch(51.0% 0.162 28.7);
Tailwind
colors: {
  custom: {
    50: '#d07364',
    500: '#b0342a',
    950: '#000000',
  },
}
SCSS
$custom: #b0342a;
$custom-light: #d07364;
$custom-dark: #000000;
JSON
{
  "hex": "#b0342a",
  "rgb": {
    "r": 176,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 4.478,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.16208,
    "h": 28.7
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#B0342A
secondary
#70C0C6
accent
#D9E543
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #B0342A

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

Preview Lab → · Contrast checker → · Palette generator →

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