#B31F22#B31F22

#B31F22 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.7% C 0.183 H 26.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B31F22
RGBrgb(179, 31, 34)
HSLhsl(359, 70%, 41%)
HSVhsv(359, 83%, 70%)
CMYKcmyk(0%, 82.7%, 81%, 29.8%)
CIE-LABlab(39.04, 57.00, 37.64)
CIE-LCHlch(39.04, 68.31, 33.44°)
OKLaboklab(49.66% 0.1637 0.0809)
OKLCHoklch(49.66% 0.183 26.3)
XYZxyz(19.3715, 10.6824, 2.5550)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F22 #1FB3B0
analogous
#B31F6C #B31F22 #B3661F
triadic
#B31F22 #22B31F #1F22B3
tetradic
#B31F22 #6CB31F #1FB3B0 #661FB3
square
#B31F22 #6CB31F #1FB3B0 #661FB3
split-complementary
#B31F22 #1FB366 #1F6CB3
monochromatic
#4B0D0E #7F1618 #B31F22 #DC3337 #E5686A

Accessibility & contrast

On white

6.70
#B31F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#B31F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31F22
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F22#FFFFFF#000000##FFFFFF
##B31F221.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504820
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#C60023
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31f22;
/* rgb */ color: rgb(179, 31, 34);
/* oklch */ color: oklch(49.7% 0.183 26.3);
Tailwind
colors: {
  custom: {
    50: '#d46b5e',
    500: '#b31f22',
    950: '#000000',
  },
}
SCSS
$custom: #b31f22;
$custom-light: #d46b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f22",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.784,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.1826,
    "h": 26.3
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

primary
#B31F22
secondary
#64CAC8
accent
#EDEA3B
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B31F22

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

Preview Lab → · Contrast checker → · Palette generator →

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