#B1312A#B1312A

#B1312A is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.166 H 27.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B1312A
RGBrgb(177, 49, 42)
HSLhsl(3, 62%, 43%)
HSVhsv(3, 76%, 69%)
CMYKcmyk(0%, 72.3%, 76.3%, 30.6%)
CIE-LABlab(40.76, 51.00, 34.78)
CIE-LCHlch(40.76, 61.73, 34.29°)
OKLaboklab(50.89% 0.1467 0.0773)
OKLCHoklch(50.89% 0.166 27.8)
XYZxyz(19.6500, 11.7139, 3.4164)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1312A #2AAAB1
analogous
#B12A66 #B1312A #B1742A
triadic
#B1312A #2AB131 #312AB1
tetradic
#B1312A #66B12A #2AAAB1 #742AB1
square
#B1312A #66B12A #2AAAB1 #742AB1
split-complementary
#B1312A #2AB174 #2A66B1
monochromatic
#4E1613 #80231E #B1312A #D34D45 #DF7C77

Accessibility & contrast

On white

6.28
#B1312A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B1312A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1312A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1312A#FFFFFF#000000##FFFFFF
##B1312A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E28
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1312a;
/* rgb */ color: rgb(177, 49, 42);
/* oklch */ color: oklch(50.9% 0.166 27.8);
Tailwind
colors: {
  custom: {
    50: '#d17264',
    500: '#b1312a',
    950: '#000000',
  },
}
SCSS
$custom: #b1312a;
$custom-light: #d17264;
$custom-dark: #000000;
JSON
{
  "hex": "#b1312a",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 3.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.16582,
    "h": 27.8
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#B1312A
secondary
#70C2C6
accent
#DCE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B1312A

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

Preview Lab → · Contrast checker → · Palette generator →

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