#B1312E#B1312E

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

Color values

HEX#B1312E
RGBrgb(177, 49, 46)
HSLhsl(1, 59%, 44%)
HSVhsv(1, 74%, 69%)
CMYKcmyk(0%, 72.3%, 74%, 30.6%)
CIE-LABlab(40.81, 51.17, 32.51)
CIE-LCHlch(40.81, 60.63, 32.43°)
OKLaboklab(50.94% 0.1481 0.0734)
OKLCHoklch(50.94% 0.165 26.4)
XYZxyz(19.7252, 11.7440, 3.8124)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1312E #2EAEB1
analogous
#B12E6C #B1312E #B1722E
triadic
#B1312E #2EB131 #312EB1
tetradic
#B1312E #6CB12E #2EAEB1 #722EB1
square
#B1312E #6CB12E #2EAEB1 #722EB1
split-complementary
#B1312E #2EB172 #2E6CB1
monochromatic
#501615 #802421 #B1312E #D04F4C #DD7F7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1312E#FFFFFF#000000##FFFFFF
##B1312E1.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)
#564F2C
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1312e;
/* rgb */ color: rgb(177, 49, 46);
/* oklch */ color: oklch(50.9% 0.165 26.4);
Tailwind
colors: {
  custom: {
    50: '#d17267',
    500: '#b1312e',
    950: '#000000',
  },
}
SCSS
$custom: #b1312e;
$custom-light: #d17267;
$custom-dark: #000000;
JSON
{
  "hex": "#b1312e",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.374,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50942,
    "c": 0.16525,
    "h": 26.4
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#B1312E
secondary
#75C4C6
accent
#DEE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B1312E

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

Preview Lab → · Contrast checker → · Palette generator →

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