#B31E2F#B31E2F

#B31E2F is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.8% C 0.182 H 22.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B31E2F
RGBrgb(179, 30, 47)
HSLhsl(353, 71%, 41%)
HSVhsv(353, 83%, 70%)
CMYKcmyk(0%, 83.2%, 73.7%, 29.8%)
CIE-LABlab(39.11, 57.72, 30.07)
CIE-LCHlch(39.11, 65.09, 27.52°)
OKLaboklab(49.75% 0.1688 0.0681)
OKLCHoklch(49.75% 0.182 22)
XYZxyz(19.5701, 10.7206, 3.7276)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E2F #1EB3A2
analogous
#B31E79 #B31E2F #B3571E
triadic
#B31E2F #2FB31E #1E2FB3
tetradic
#B31E2F #79B31E #1EB3A2 #571EB3
square
#B31E2F #79B31E #1EB3A2 #571EB3
split-complementary
#B31E2F #1EB357 #1E79B3
monochromatic
#4A0C13 #7F1521 #B31E2F #DD3245 #E56675

Accessibility & contrast

On white

6.68
#B31E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31E2F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E2F#FFFFFF#000000##FFFFFF
##B31E2F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482E
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#C50026
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e2f;
/* rgb */ color: rgb(179, 30, 47);
/* oklch */ color: oklch(49.8% 0.182 22.0);
Tailwind
colors: {
  custom: {
    50: '#d36b67',
    500: '#b31e2f',
    950: '#000000',
  },
}
SCSS
$custom: #b31e2f;
$custom-light: #d36b67;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e2f",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 353.154,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.18205,
    "h": 22
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#B31E2F
secondary
#62CBBF
accent
#EED93A
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #B31E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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