#B31E19#B31E19

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

Color values

HEX#B31E19
RGBrgb(179, 30, 25)
HSLhsl(2, 75%, 40%)
HSVhsv(2, 86%, 70%)
CMYKcmyk(0%, 83.2%, 86%, 29.8%)
CIE-LABlab(38.87, 57.02, 42.28)
CIE-LCHlch(38.87, 70.98, 36.56°)
OKLaboklab(49.51% 0.162 0.0876)
OKLCHoklch(49.51% 0.184 28.4)
XYZxyz(19.2326, 10.5856, 1.9501)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E19 #19AEB3
analogous
#B31961 #B31E19 #B36B19
triadic
#B31E19 #19B31E #1E19B3
tetradic
#B31E19 #61B319 #19AEB3 #6B19B3
square
#B31E19 #61B319 #19AEB3 #6B19B3
split-complementary
#B31E19 #19B36B #1961B3
monochromatic
#480C0A #7D1512 #B31E19 #E12E28 #E8625E

Accessibility & contrast

On white

6.74
#B31E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#B31E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E19
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E19#FFFFFF#000000##FFFFFF
##B31E191.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504716
Deuteranopia (green-blind)
#74670F
Tritanopia (blue-blind)
#C6001F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e19;
/* rgb */ color: rgb(179, 30, 25);
/* oklch */ color: oklch(49.5% 0.184 28.4);
Tailwind
colors: {
  custom: {
    50: '#d46b58',
    500: '#b31e19',
    950: '#000000',
  },
}
SCSS
$custom: #b31e19;
$custom-light: #d46b58;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e19",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 25
  },
  "hsl": {
    "h": 1.948,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.49507,
    "c": 0.18418,
    "h": 28.4
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#B31E19
secondary
#5BC9CC
accent
#ECF236
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #B31E19

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

Preview Lab → · Contrast checker → · Palette generator →

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