#B9342A#B9342A

#B9342A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.171 H 28.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B9342A
RGBrgb(185, 52, 42)
HSLhsl(4, 63%, 45%)
HSVhsv(4, 77%, 73%)
CMYKcmyk(0%, 71.9%, 77.3%, 27.5%)
CIE-LABlab(42.67, 52.48, 37.28)
CIE-LCHlch(42.67, 64.38, 35.39°)
OKLaboklab(52.6% 0.1504 0.0822)
OKLCHoklch(52.6% 0.171 28.7)
XYZxyz(21.6560, 12.9408, 3.5476)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9342A #2AAFB9
analogous
#B92A67 #B9342A #B97C2A
triadic
#B9342A #2AB934 #342AB9
tetradic
#B9342A #67B92A #2AAFB9 #7C2AB9
square
#B9342A #67B92A #2AAFB9 #7C2AB9
split-complementary
#B9342A #2AB97C #2A67B9
monochromatic
#551813 #87261F #B9342A #D6544A #E1837C

Accessibility & contrast

On white

5.85
#B9342A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B9342A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9342A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9342A#FFFFFF#000000##FFFFFF
##B9342A1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#CC0033
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b9342a;
/* rgb */ color: rgb(185, 52, 42);
/* oklch */ color: oklch(52.6% 0.171 28.7);
Tailwind
colors: {
  custom: {
    50: '#d77564',
    500: '#b9342a',
    950: '#000000',
  },
}
SCSS
$custom: #b9342a;
$custom-light: #d77564;
$custom-dark: #000000;
JSON
{
  "hex": "#b9342a",
  "rgb": {
    "r": 185,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 4.196,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.17139,
    "h": 28.7
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#B9342A
secondary
#75C4CA
accent
#DBE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B9342A

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

Preview Lab → · Contrast checker → · Palette generator →

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