#B9312E#B9312E

#B9312E is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.173 H 26.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B9312E
RGBrgb(185, 49, 46)
HSLhsl(1, 60%, 45%)
HSVhsv(1, 75%, 73%)
CMYKcmyk(0%, 73.5%, 75.1%, 27.5%)
CIE-LABlab(42.33, 53.73, 34.63)
CIE-LCHlch(42.33, 63.92, 32.80°)
OKLaboklab(52.35% 0.1552 0.0775)
OKLCHoklch(52.35% 0.173 26.5)
XYZxyz(21.6015, 12.7115, 3.9004)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9312E #2EB6B9
analogous
#B92E70 #B9312E #B9762E
triadic
#B9312E #2EB931 #312EB9
tetradic
#B9312E #70B92E #2EB6B9 #762EB9
square
#B9312E #70B92E #2EB6B9 #762EB9
split-complementary
#B9312E #2EB976 #2E70B9
monochromatic
#571716 #882422 #B9312E #D45351 #E08482

Accessibility & contrast

On white

5.93
#B9312E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9312E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9312E#FFFFFF#000000##FFFFFF
##B9312E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512C
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#CC0032
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b9312e;
/* rgb */ color: rgb(185, 49, 46);
/* oklch */ color: oklch(52.4% 0.173 26.5);
Tailwind
colors: {
  custom: {
    50: '#d77367',
    500: '#b9312e',
    950: '#000000',
  },
}
SCSS
$custom: #b9312e;
$custom-light: #d77367;
$custom-dark: #000000;
JSON
{
  "hex": "#b9312e",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.295,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.17342,
    "h": 26.5
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#B9312E
secondary
#7AC7C9
accent
#E0E344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B9312E

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

Preview Lab → · Contrast checker → · Palette generator →

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