#B4331B#B4331B

#B4331B is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.170 H 32.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B4331B
RGBrgb(180, 51, 27)
HSLhsl(9, 74%, 41%)
HSVhsv(9, 85%, 71%)
CMYKcmyk(0%, 71.7%, 85%, 29.4%)
CIE-LABlab(41.46, 50.75, 43.63)
CIE-LCHlch(41.46, 66.93, 40.69°)
OKLaboklab(51.47% 0.1427 0.0915)
OKLCHoklch(51.47% 0.17 32.7)
XYZxyz(20.2065, 12.1532, 2.3185)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4331B #1B9CB4
analogous
#B41B4F #B4331B #B47F1B
triadic
#B4331B #1BB433 #331BB4
tetradic
#B4331B #4FB41B #1B9CB4 #7F1BB4
square
#B4331B #4FB41B #1B9CB4 #7F1BB4
split-complementary
#B4331B #1BB47F #1B4FB4
monochromatic
#4A150B #7F2413 #B4331B #DF492D #E77762

Accessibility & contrast

On white

6.12
#B4331B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B4331B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4331B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4331B#FFFFFF#000000##FFFFFF
##B4331B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5016
Deuteranopia (green-blind)
#7A6C13
Tritanopia (blue-blind)
#C7002F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4331b;
/* rgb */ color: rgb(180, 51, 27);
/* oklch */ color: oklch(51.5% 0.170 32.7);
Tailwind
colors: {
  custom: {
    50: '#d4735a',
    500: '#b4331b',
    950: '#000000',
  },
}
SCSS
$custom: #b4331b;
$custom-light: #d4735a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4331b",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 9.412,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51473,
    "c": 0.16952,
    "h": 32.7
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#B4331B
secondary
#5FBBCC
accent
#D3F137
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160904
muted
#847B79

Preview Lab

Preview with #B4331B

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

Preview Lab → · Contrast checker → · Palette generator →

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