#B31F24#B31F24

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

Color values

HEX#B31F24
RGBrgb(179, 31, 36)
HSLhsl(358, 70%, 41%)
HSVhsv(358, 83%, 70%)
CMYKcmyk(0%, 82.7%, 79.9%, 29.8%)
CIE-LABlab(39.06, 57.07, 36.53)
CIE-LCHlch(39.06, 67.76, 32.62°)
OKLaboklab(49.68% 0.1643 0.0792)
OKLCHoklch(49.68% 0.182 25.7)
XYZxyz(19.4012, 10.6942, 2.7114)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F24 #1FB3AE
analogous
#B31F6E #B31F24 #B3641F
triadic
#B31F24 #24B31F #1F24B3
tetradic
#B31F24 #6EB31F #1FB3AE #641FB3
square
#B31F24 #6EB31F #1FB3AE #641FB3
split-complementary
#B31F24 #1FB364 #1F6EB3
monochromatic
#4B0D0F #7F161A #B31F24 #DC3339 #E5686C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31F24#FFFFFF#000000##FFFFFF
##B31F241.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)
#504822
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#C60023
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31f24;
/* rgb */ color: rgb(179, 31, 36);
/* oklch */ color: oklch(49.7% 0.182 25.7);
Tailwind
colors: {
  custom: {
    50: '#d36b5f',
    500: '#b31f24',
    950: '#000000',
  },
}
SCSS
$custom: #b31f24;
$custom-light: #d36b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f24",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 36
  },
  "hsl": {
    "h": 357.973,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.18239,
    "h": 25.7
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#B31F24
secondary
#64CAC7
accent
#EDE73B
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B31F24

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

Preview Lab → · Contrast checker → · Palette generator →

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