#B31E23#B31E23

#B31E23 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.6% C 0.183 H 25.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B31E23
RGBrgb(179, 30, 35)
HSLhsl(358, 71%, 41%)
HSVhsv(358, 83%, 70%)
CMYKcmyk(0%, 83.2%, 80.4%, 29.8%)
CIE-LABlab(38.96, 57.29, 37.00)
CIE-LCHlch(38.96, 68.19, 32.85°)
OKLaboklab(49.6% 0.1648 0.0799)
OKLCHoklch(49.6% 0.183 25.9)
XYZxyz(19.3605, 10.6368, 2.6235)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E23 #1EB3AE
analogous
#B31E6D #B31E23 #B3641E
triadic
#B31E23 #23B31E #1E23B3
tetradic
#B31E23 #6DB31E #1EB3AE #641EB3
square
#B31E23 #6DB31E #1EB3AE #641EB3
split-complementary
#B31E23 #1EB364 #1E6DB3
monochromatic
#4A0C0F #7F1519 #B31E23 #DD3237 #E5666A

Accessibility & contrast

On white

6.72
#B31E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B31E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E23
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E23#FFFFFF#000000##FFFFFF
##B31E231.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4721
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#C60022
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e23;
/* rgb */ color: rgb(179, 30, 35);
/* oklch */ color: oklch(49.6% 0.183 25.9);
Tailwind
colors: {
  custom: {
    50: '#d46b5f',
    500: '#b31e23',
    950: '#000000',
  },
}
SCSS
$custom: #b31e23;
$custom-light: #d46b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e23",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 357.987,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.496,
    "c": 0.18312,
    "h": 25.9
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#B31E23
secondary
#62CBC7
accent
#EEE83A
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B31E23

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

Preview Lab → · Contrast checker → · Palette generator →

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