#B31D25#B31D25

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

Color values

HEX#B31D25
RGBrgb(179, 29, 37)
HSLhsl(357, 72%, 41%)
HSVhsv(357, 84%, 70%)
CMYKcmyk(0%, 83.8%, 79.3%, 29.8%)
CIE-LABlab(38.90, 57.59, 35.79)
CIE-LCHlch(38.90, 67.81, 31.85°)
OKLaboklab(49.56% 0.1662 0.0779)
OKLCHoklch(49.56% 0.184 25.1)
XYZxyz(19.3661, 10.5992, 2.7761)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D25 #1DB3AB
analogous
#B31D70 #B31D25 #B3601D
triadic
#B31D25 #25B31D #1D25B3
tetradic
#B31D25 #70B31D #1DB3AB #601DB3
square
#B31D25 #70B31D #1DB3AB #601DB3
split-complementary
#B31D25 #1DB360 #1D70B3
monochromatic
#4A0C0F #7E141A #B31D25 #DD3039 #E6646B

Accessibility & contrast

On white

6.73
#B31D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31D25
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D25#FFFFFF#000000##FFFFFF
##B31D251.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31d25;
/* rgb */ color: rgb(179, 29, 37);
/* oklch */ color: oklch(49.6% 0.184 25.1);
Tailwind
colors: {
  custom: {
    50: '#d36a60',
    500: '#b31d25',
    950: '#000000',
  },
}
SCSS
$custom: #b31d25;
$custom-light: #d36a60;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d25",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 37
  },
  "hsl": {
    "h": 356.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.18353,
    "h": 25.1
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#B31D25
secondary
#61CBC5
accent
#EFE539
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160705
muted
#847A79

Preview Lab

Preview with #B31D25

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

Preview Lab → · Contrast checker → · Palette generator →

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