#B31E2D#B31E2D

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

Color values

HEX#B31E2D
RGBrgb(179, 30, 45)
HSLhsl(354, 71%, 41%)
HSVhsv(354, 83%, 70%)
CMYKcmyk(0%, 83.2%, 74.9%, 29.8%)
CIE-LABlab(39.08, 57.64, 31.25)
CIE-LCHlch(39.08, 65.57, 28.46°)
OKLaboklab(49.72% 0.1681 0.0703)
OKLCHoklch(49.72% 0.182 22.7)
XYZxyz(19.5307, 10.7049, 3.5200)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E2D #1EB3A4
analogous
#B31E77 #B31E2D #B3591E
triadic
#B31E2D #2DB31E #1E2DB3
tetradic
#B31E2D #77B31E #1EB3A4 #591EB3
square
#B31E2D #77B31E #1EB3A4 #591EB3
split-complementary
#B31E2D #1EB359 #1E77B3
monochromatic
#4A0C13 #7F1520 #B31E2D #DD3243 #E56673

Accessibility & contrast

On white

6.69
#B31E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31E2D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E2D#FFFFFF#000000##FFFFFF
##B31E2D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482C
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#C50026
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e2d;
/* rgb */ color: rgb(179, 30, 45);
/* oklch */ color: oklch(49.7% 0.182 22.7);
Tailwind
colors: {
  custom: {
    50: '#d36b66',
    500: '#b31e2d',
    950: '#000000',
  },
}
SCSS
$custom: #b31e2d;
$custom-light: #d36b66;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e2d",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 353.96,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.1822,
    "h": 22.7
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#B31E2D
secondary
#62CBC0
accent
#EEDC3A
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #B31E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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