#B4312A#B4312A

#B4312A is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.4% C 0.169 H 27.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B4312A
RGBrgb(180, 49, 42)
HSLhsl(3, 62%, 44%)
HSVhsv(3, 77%, 71%)
CMYKcmyk(0%, 72.8%, 76.7%, 29.4%)
CIE-LABlab(41.33, 51.97, 35.56)
CIE-LCHlch(41.33, 62.98, 34.38°)
OKLaboklab(51.42% 0.1494 0.0788)
OKLCHoklch(51.42% 0.169 27.8)
XYZxyz(20.3410, 12.0702, 3.4488)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4312A #2AADB4
analogous
#B42A68 #B4312A #B4762A
triadic
#B4312A #2AB431 #312AB4
tetradic
#B4312A #68B42A #2AADB4 #762AB4
square
#B4312A #68B42A #2AADB4 #762AB4
split-complementary
#B4312A #2AB476 #2A68B4
monochromatic
#511613 #82231E #B4312A #D44E47 #E07E79

Accessibility & contrast

On white

6.15
#B4312A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B4312A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4312A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4312A#FFFFFF#000000##FFFFFF
##B4312A1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F28
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#C60031
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4312a;
/* rgb */ color: rgb(180, 49, 42);
/* oklch */ color: oklch(51.4% 0.169 27.8);
Tailwind
colors: {
  custom: {
    50: '#d37364',
    500: '#b4312a',
    950: '#000000',
  },
}
SCSS
$custom: #b4312a;
$custom-light: #d37364;
$custom-dark: #000000;
JSON
{
  "hex": "#b4312a",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 3.043,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51419,
    "c": 0.1689,
    "h": 27.8
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#B4312A
secondary
#72C3C8
accent
#DDE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B4312A

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

Preview Lab → · Contrast checker → · Palette generator →

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