#B31B20#B31B20

#B31B20 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.185 H 26.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B31B20
RGBrgb(179, 27, 32)
HSLhsl(358, 74%, 40%)
HSVhsv(358, 85%, 70%)
CMYKcmyk(0%, 84.9%, 82.1%, 29.8%)
CIE-LABlab(38.68, 57.91, 38.40)
CIE-LCHlch(38.68, 69.48, 33.55°)
OKLaboklab(49.38% 0.1661 0.0819)
OKLCHoklch(49.38% 0.185 26.2)
XYZxyz(19.2455, 10.4751, 2.3748)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B20 #1BB3AE
analogous
#B31B6C #B31B20 #B3621B
triadic
#B31B20 #20B31B #1B20B3
tetradic
#B31B20 #6CB31B #1BB3AE #621BB3
square
#B31B20 #6CB31B #1BB3AE #621BB3
split-complementary
#B31B20 #1BB362 #1B6CB3
monochromatic
#490B0D #7E1316 #B31B20 #DF2C32 #E76166

Accessibility & contrast

On white

6.79
#B31B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#B31B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31B20
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31B20#FFFFFF#000000##FFFFFF
##B31B201.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461E
Deuteranopia (green-blind)
#736718
Tritanopia (blue-blind)
#C60020
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31b20;
/* rgb */ color: rgb(179, 27, 32);
/* oklch */ color: oklch(49.4% 0.185 26.2);
Tailwind
colors: {
  custom: {
    50: '#d46a5c',
    500: '#b31b20',
    950: '#000000',
  },
}
SCSS
$custom: #b31b20;
$custom-light: #d46a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b20",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 32
  },
  "hsl": {
    "h": 358.026,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49384,
    "c": 0.1852,
    "h": 26.2
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#B31B20
secondary
#5ECCC8
accent
#F0EA37
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31B20

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

Preview Lab → · Contrast checker → · Palette generator →

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