#B31F23#B31F23

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

Color values

HEX#B31F23
RGBrgb(179, 31, 35)
HSLhsl(358, 70%, 41%)
HSVhsv(358, 83%, 70%)
CMYKcmyk(0%, 82.7%, 80.4%, 29.8%)
CIE-LABlab(39.05, 57.04, 37.09)
CIE-LCHlch(39.05, 68.03, 33.03°)
OKLaboklab(49.67% 0.164 0.0801)
OKLCHoklch(49.67% 0.182 26)
XYZxyz(19.3862, 10.6882, 2.6321)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F23 #1FB3AF
analogous
#B31F6D #B31F23 #B3651F
triadic
#B31F23 #23B31F #1F23B3
tetradic
#B31F23 #6DB31F #1FB3AF #651FB3
square
#B31F23 #6DB31F #1FB3AF #651FB3
split-complementary
#B31F23 #1FB365 #1F6DB3
monochromatic
#4B0D0F #7F1619 #B31F23 #DC3338 #E5686B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31F23#FFFFFF#000000##FFFFFF
##B31F231.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)
#504821
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#C60023
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31f23;
/* rgb */ color: rgb(179, 31, 35);
/* oklch */ color: oklch(49.7% 0.182 26.0);
Tailwind
colors: {
  custom: {
    50: '#d36b5f',
    500: '#b31f23',
    950: '#000000',
  },
}
SCSS
$custom: #b31f23;
$custom-light: #d36b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f23",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 358.378,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49666,
    "c": 0.18249,
    "h": 26
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31F23

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

Preview Lab → · Contrast checker → · Palette generator →

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