#B31929#B31929

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

Color values

HEX#B31929
RGBrgb(179, 25, 41)
HSLhsl(354, 75%, 40%)
HSVhsv(354, 86%, 70%)
CMYKcmyk(0%, 86%, 77.1%, 29.8%)
CIE-LABlab(38.62, 58.64, 33.15)
CIE-LCHlch(38.62, 67.36, 29.48°)
OKLaboklab(49.37% 0.1704 0.0733)
OKLCHoklch(49.37% 0.185 23.3)
XYZxyz(19.3407, 10.4422, 3.0946)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31929 #19B3A3
analogous
#B31976 #B31929 #B35619
triadic
#B31929 #29B319 #1929B3
tetradic
#B31929 #76B319 #19B3A3 #5619B3
square
#B31929 #76B319 #19B3A3 #5619B3
split-complementary
#B31929 #19B356 #1976B3
monochromatic
#480A10 #7D121D #B31929 #E1283B #E85E6C

Accessibility & contrast

On white

6.80
#B31929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31929
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31929#FFFFFF#000000##FFFFFF
##B319291.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#C50021
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31929;
/* rgb */ color: rgb(179, 25, 41);
/* oklch */ color: oklch(49.4% 0.185 23.3);
Tailwind
colors: {
  custom: {
    50: '#d36963',
    500: '#b31929',
    950: '#000000',
  },
}
SCSS
$custom: #b31929;
$custom-light: #d36963;
$custom-dark: #000000;
JSON
{
  "hex": "#b31929",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 41
  },
  "hsl": {
    "h": 353.766,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.18549,
    "h": 23.3
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#B31929
secondary
#5BCCC1
accent
#F2DF36
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160705
muted
#847A79

Preview Lab

Preview with #B31929

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

Preview Lab → · Contrast checker → · Palette generator →

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