#B31C19#B31C19

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

Color values

HEX#B31C19
RGBrgb(179, 28, 25)
HSLhsl(1, 75%, 40%)
HSVhsv(1, 86%, 70%)
CMYKcmyk(0%, 84.4%, 86%, 29.8%)
CIE-LABlab(38.70, 57.50, 42.14)
CIE-LCHlch(38.70, 71.29, 36.23°)
OKLaboklab(49.38% 0.1635 0.0873)
OKLCHoklch(49.38% 0.185 28.1)
XYZxyz(19.1836, 10.4876, 1.9338)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C19 #19B0B3
analogous
#B31963 #B31C19 #B36919
triadic
#B31C19 #19B31C #1C19B3
tetradic
#B31C19 #63B319 #19B0B3 #6919B3
square
#B31C19 #63B319 #19B0B3 #6919B3
split-complementary
#B31C19 #19B369 #1963B3
monochromatic
#480B0A #7D1412 #B31C19 #E12C28 #E8615E

Accessibility & contrast

On white

6.78
#B31C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31C19
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C19#FFFFFF#000000##FFFFFF
##B31C191.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4616
Deuteranopia (green-blind)
#74670F
Tritanopia (blue-blind)
#C6001E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31c19;
/* rgb */ color: rgb(179, 28, 25);
/* oklch */ color: oklch(49.4% 0.185 28.1);
Tailwind
colors: {
  custom: {
    50: '#d46a58',
    500: '#b31c19',
    950: '#000000',
  },
}
SCSS
$custom: #b31c19;
$custom-light: #d46a58;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c19",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 25
  },
  "hsl": {
    "h": 1.169,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.18535,
    "h": 28.1
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31C19

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

Preview Lab → · Contrast checker → · Palette generator →

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