#B31414#B31414

#B31414 is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.9% C 0.190 H 28.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B31414
RGBrgb(179, 20, 20)
HSLhsl(0, 80%, 39%)
HSVhsv(0, 89%, 70%)
CMYKcmyk(0%, 88.8%, 88.8%, 29.8%)
CIE-LABlab(38.09, 59.06, 44.07)
CIE-LCHlch(38.09, 73.69, 36.73°)
OKLaboklab(48.92% 0.1675 0.0893)
OKLCHoklch(48.92% 0.19 28.1)
XYZxyz(18.9693, 10.1378, 1.6197)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31414 #14B3B3
analogous
#B31464 #B31414 #B36414
triadic
#B31414 #14B314 #1414B3
tetradic
#B31414 #64B314 #14B3B3 #6414B3
square
#B31414 #64B314 #14B3B3 #6414B3
split-complementary
#B31414 #14B364 #1464B3
monochromatic
#450808 #7C0E0E #B31414 #E61E1E #EC5555

Accessibility & contrast

On white

6.94
#B31414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#B31414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31414
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31414#FFFFFF#000000##FFFFFF
##B314141.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4410
Deuteranopia (green-blind)
#736506
Tritanopia (blue-blind)
#C60018
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #b31414;
/* rgb */ color: rgb(179, 20, 20);
/* oklch */ color: oklch(48.9% 0.190 28.1);
Tailwind
colors: {
  custom: {
    50: '#d56855',
    500: '#b31414',
    950: '#000000',
  },
}
SCSS
$custom: #b31414;
$custom-light: #d56855;
$custom-dark: #000000;
JSON
{
  "hex": "#b31414",
  "rgb": {
    "r": 179,
    "g": 20,
    "b": 20
  },
  "hsl": {
    "h": 0,
    "s": 79.899,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48915,
    "c": 0.18986,
    "h": 28.1
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#B31414
secondary
#54CFCF
accent
#F6F631
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#170703
muted
#857A78

Preview Lab

Preview with #B31414

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

Preview Lab → · Contrast checker → · Palette generator →

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