#B9342F#B9342F

#B9342F is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.171 H 27.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B9342F
RGBrgb(185, 52, 47)
HSLhsl(2, 59%, 45%)
HSVhsv(2, 75%, 73%)
CMYKcmyk(0%, 71.9%, 74.6%, 27.5%)
CIE-LABlab(42.73, 52.68, 34.51)
CIE-LCHlch(42.73, 62.98, 33.23°)
OKLaboklab(52.66% 0.1521 0.0774)
OKLCHoklch(52.66% 0.171 27)
XYZxyz(21.7511, 12.9788, 4.0486)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9342F #2FB4B9
analogous
#B92F6F #B9342F #B9792F
triadic
#B9342F #2FB934 #342FB9
tetradic
#B9342F #6FB92F #2FB4B9 #792FB9
square
#B9342F #6FB92F #2FB4B9 #792FB9
split-complementary
#B9342F #2FB979 #2F6FB9
monochromatic
#571916 #882623 #B9342F #D35752 #DF8683

Accessibility & contrast

On white

5.84
#B9342F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B9342F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9342F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9342F#FFFFFF#000000##FFFFFF
##B9342F1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522D
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b9342f;
/* rgb */ color: rgb(185, 52, 47);
/* oklch */ color: oklch(52.7% 0.171 27.0);
Tailwind
colors: {
  custom: {
    50: '#d67568',
    500: '#b9342f',
    950: '#000000',
  },
}
SCSS
$custom: #b9342f;
$custom-light: #d67568;
$custom-dark: #000000;
JSON
{
  "hex": "#b9342f",
  "rgb": {
    "r": 185,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 2.174,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.17065,
    "h": 27
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#B9342F
secondary
#7BC6C9
accent
#DDE345
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B9342F

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

Preview Lab → · Contrast checker → · Palette generator →

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