#B31D19#B31D19

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

Color values

HEX#B31D19
RGBrgb(179, 29, 25)
HSLhsl(2, 75%, 40%)
HSVhsv(2, 86%, 70%)
CMYKcmyk(0%, 83.8%, 86%, 29.8%)
CIE-LABlab(38.79, 57.26, 42.21)
CIE-LCHlch(38.79, 71.14, 36.39°)
OKLaboklab(49.44% 0.1628 0.0875)
OKLCHoklch(49.44% 0.185 28.3)
XYZxyz(19.2077, 10.5358, 1.9418)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D19 #19AFB3
analogous
#B31962 #B31D19 #B36A19
triadic
#B31D19 #19B31D #1D19B3
tetradic
#B31D19 #62B319 #19AFB3 #6A19B3
square
#B31D19 #62B319 #19AFB3 #6A19B3
split-complementary
#B31D19 #19B36A #1962B3
monochromatic
#480C0A #7D1412 #B31D19 #E12D28 #E8615E

Accessibility & contrast

On white

6.76
#B31D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#B31D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D19
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D19#FFFFFF#000000##FFFFFF
##B31D191.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31d19;
/* rgb */ color: rgb(179, 29, 25);
/* oklch */ color: oklch(49.4% 0.185 28.3);
Tailwind
colors: {
  custom: {
    50: '#d46a58',
    500: '#b31d19',
    950: '#000000',
  },
}
SCSS
$custom: #b31d19;
$custom-light: #d46a58;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d19",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 25
  },
  "hsl": {
    "h": 1.558,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.18477,
    "h": 28.3
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#B31D19
secondary
#5BCACC
accent
#EDF236
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #B31D19

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

Preview Lab → · Contrast checker → · Palette generator →

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