#B1312F#B1312F

#B1312F is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.165 H 26.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B1312F
RGBrgb(177, 49, 47)
HSLhsl(1, 58%, 44%)
HSVhsv(1, 73%, 69%)
CMYKcmyk(0%, 72.3%, 73.4%, 30.6%)
CIE-LABlab(40.82, 51.22, 31.94)
CIE-LCHlch(40.82, 60.36, 31.95°)
OKLaboklab(50.96% 0.1484 0.0723)
OKLCHoklch(50.96% 0.165 26)
XYZxyz(19.7451, 11.7520, 3.9174)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1312F #2FAFB1
analogous
#B12F6E #B1312F #B1722F
triadic
#B1312F #2FB131 #312FB1
tetradic
#B1312F #6EB12F #2FAFB1 #722FB1
square
#B1312F #6EB12F #2FAFB1 #722FB1
split-complementary
#B1312F #2FB172 #2F6EB1
monochromatic
#501615 #812422 #B1312F #D04F4D #DD7F7E

Accessibility & contrast

On white

6.27
#B1312F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B1312F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1312F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1312F#FFFFFF#000000##FFFFFF
##B1312F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F2D
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1312f;
/* rgb */ color: rgb(177, 49, 47);
/* oklch */ color: oklch(51.0% 0.165 26.0);
Tailwind
colors: {
  custom: {
    50: '#d07268',
    500: '#b1312f',
    950: '#000000',
  },
}
SCSS
$custom: #b1312f;
$custom-light: #d07268;
$custom-dark: #000000;
JSON
{
  "hex": "#b1312f",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 0.923,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.16512,
    "h": 26
  },
  "luminance": 0.11749
}

Semantic roles & 50–950 ramp

primary
#B1312F
secondary
#76C4C5
accent
#DFE147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B1312F

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

Preview Lab → · Contrast checker → · Palette generator →

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