#B31D23#B31D23

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

Color values

HEX#B31D23
RGBrgb(179, 29, 35)
HSLhsl(358, 72%, 41%)
HSVhsv(358, 84%, 70%)
CMYKcmyk(0%, 83.8%, 80.4%, 29.8%)
CIE-LABlab(38.88, 57.53, 36.91)
CIE-LCHlch(38.88, 68.35, 32.68°)
OKLaboklab(49.54% 0.1656 0.0797)
OKLCHoklch(49.54% 0.184 25.7)
XYZxyz(19.3356, 10.5870, 2.6152)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D23 #1DB3AD
analogous
#B31D6E #B31D23 #B3621D
triadic
#B31D23 #23B31D #1D23B3
tetradic
#B31D23 #6EB31D #1DB3AD #621DB3
square
#B31D23 #6EB31D #1DB3AD #621DB3
split-complementary
#B31D23 #1DB362 #1D6EB3
monochromatic
#4A0C0E #7E1419 #B31D23 #DD3037 #E6646A

Accessibility & contrast

On white

6.74
#B31D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#B31D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D23
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D23#FFFFFF#000000##FFFFFF
##B31D231.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.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: #b31d23;
/* rgb */ color: rgb(179, 29, 35);
/* oklch */ color: oklch(49.5% 0.184 25.7);
Tailwind
colors: {
  custom: {
    50: '#d46a5f',
    500: '#b31d23',
    950: '#000000',
  },
}
SCSS
$custom: #b31d23;
$custom-light: #d46a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d23",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 357.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.18373,
    "h": 25.7
  },
  "luminance": 0.10584
}

Semantic roles & 50–950 ramp

primary
#B31D23
secondary
#61CBC7
accent
#EFE839
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31D23

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

Preview Lab → · Contrast checker → · Palette generator →

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