#B31F28#B31F28

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

Color values

HEX#B31F28
RGBrgb(179, 31, 40)
HSLhsl(356, 70%, 41%)
HSVhsv(356, 83%, 70%)
CMYKcmyk(0%, 82.7%, 77.7%, 29.8%)
CIE-LABlab(39.10, 57.20, 34.26)
CIE-LCHlch(39.10, 66.68, 30.92°)
OKLaboklab(49.72% 0.1656 0.0755)
OKLCHoklch(49.72% 0.182 24.5)
XYZxyz(19.4658, 10.7200, 3.0513)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F28 #1FB3AA
analogous
#B31F72 #B31F28 #B3601F
triadic
#B31F28 #28B31F #1F28B3
tetradic
#B31F28 #72B31F #1FB3AA #601FB3
square
#B31F28 #72B31F #1FB3AA #601FB3
split-complementary
#B31F28 #1FB360 #1F72B3
monochromatic
#4B0D11 #7F161C #B31F28 #DC333E #E5686F

Accessibility & contrast

On white

6.68
#B31F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31F28
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F28#FFFFFF#000000##FFFFFF
##B31F281.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#C50024
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31f28;
/* rgb */ color: rgb(179, 31, 40);
/* oklch */ color: oklch(49.7% 0.182 24.5);
Tailwind
colors: {
  custom: {
    50: '#d36b62',
    500: '#b31f28',
    950: '#000000',
  },
}
SCSS
$custom: #b31f28;
$custom-light: #d36b62;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f28",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 356.351,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.18199,
    "h": 24.5
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#B31F28
secondary
#64CAC4
accent
#EDE23B
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #B31F28

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

Preview Lab → · Contrast checker → · Palette generator →

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