#B31D20#B31D20

#B31D20 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.184 H 26.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B31D20
RGBrgb(179, 29, 32)
HSLhsl(359, 72%, 41%)
HSVhsv(359, 84%, 70%)
CMYKcmyk(0%, 83.8%, 82.1%, 29.8%)
CIE-LABlab(38.85, 57.44, 38.56)
CIE-LCHlch(38.85, 69.18, 33.87°)
OKLaboklab(49.51% 0.1647 0.0822)
OKLCHoklch(49.51% 0.184 26.5)
XYZxyz(19.2929, 10.5699, 2.3906)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D20 #1DB3B0
analogous
#B31D6B #B31D20 #B3651D
triadic
#B31D20 #20B31D #1D20B3
tetradic
#B31D20 #6BB31D #1DB3B0 #651DB3
square
#B31D20 #6BB31D #1DB3B0 #651DB3
split-complementary
#B31D20 #1DB365 #1D6BB3
monochromatic
#4A0C0D #7E1417 #B31D20 #DD3033 #E66467

Accessibility & contrast

On white

6.75
#B31D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#B31D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D20
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D20#FFFFFF#000000##FFFFFF
##B31D201.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471E
Deuteranopia (green-blind)
#736718
Tritanopia (blue-blind)
#C60021
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31d20;
/* rgb */ color: rgb(179, 29, 32);
/* oklch */ color: oklch(49.5% 0.184 26.5);
Tailwind
colors: {
  custom: {
    50: '#d46a5d',
    500: '#b31d20',
    950: '#000000',
  },
}
SCSS
$custom: #b31d20;
$custom-light: #d46a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d20",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 32
  },
  "hsl": {
    "h": 358.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49505,
    "c": 0.18404,
    "h": 26.5
  },
  "luminance": 0.10567
}

Semantic roles & 50–950 ramp

primary
#B31D20
secondary
#61CBC9
accent
#EFEB39
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31D20

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

Preview Lab → · Contrast checker → · Palette generator →

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