#B31B28#B31B28

#B31B28 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.5% C 0.184 H 23.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B31B28
RGBrgb(179, 27, 40)
HSLhsl(355, 74%, 40%)
HSVhsv(355, 85%, 70%)
CMYKcmyk(0%, 84.9%, 77.7%, 29.8%)
CIE-LABlab(38.77, 58.16, 33.89)
CIE-LCHlch(38.77, 67.32, 30.23°)
OKLaboklab(49.47% 0.1687 0.0747)
OKLCHoklch(49.47% 0.184 23.9)
XYZxyz(19.3677, 10.5240, 3.0186)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B28 #1BB3A6
analogous
#B31B74 #B31B28 #B35A1B
triadic
#B31B28 #28B31B #1B28B3
tetradic
#B31B28 #74B31B #1BB3A6 #5A1BB3
square
#B31B28 #74B31B #1BB3A6 #5A1BB3
split-complementary
#B31B28 #1BB35A #1B74B3
monochromatic
#490B10 #7E131C #B31B28 #DF2C3B #E7616D

Accessibility & contrast

On white

6.77
#B31B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#B31B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31B28
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31B28#FFFFFF#000000##FFFFFF
##B31B281.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4727
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#C50022
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31b28;
/* rgb */ color: rgb(179, 27, 40);
/* oklch */ color: oklch(49.5% 0.184 23.9);
Tailwind
colors: {
  custom: {
    50: '#d36a62',
    500: '#b31b28',
    950: '#000000',
  },
}
SCSS
$custom: #b31b28;
$custom-light: #d36a62;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b28",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 354.868,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49473,
    "c": 0.18445,
    "h": 23.9
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#B31B28
secondary
#5ECCC2
accent
#F0E137
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160705
muted
#847A79

Preview Lab

Preview with #B31B28

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

Preview Lab → · Contrast checker → · Palette generator →

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