#B31F40#B31F40

#B31F40 is a mid, vivid red. Relative luminance 0.109; OKLCH L 50.1% C 0.181 H 15.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B31F40
RGBrgb(179, 31, 64)
HSLhsl(347, 70%, 41%)
HSVhsv(347, 83%, 70%)
CMYKcmyk(0%, 82.7%, 64.2%, 29.8%)
CIE-LABlab(39.47, 58.32, 19.93)
CIE-LCHlch(39.47, 61.63, 18.87°)
OKLaboklab(50.11% 0.1745 0.048)
OKLCHoklch(50.11% 0.181 15.4)
XYZxyz(20.0080, 10.9369, 5.9070)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F40 #1FB392
analogous
#B31F8A #B31F40 #B3481F
triadic
#B31F40 #40B31F #1F40B3
tetradic
#B31F40 #8AB31F #1FB392 #481FB3
square
#B31F40 #8AB31F #1FB392 #481FB3
split-complementary
#B31F40 #1FB348 #1F8AB3
monochromatic
#4B0D1B #7F162D #B31F40 #DC3359 #E56884

Accessibility & contrast

On white

6.59
#B31F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B31F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31F40
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F40#FFFFFF#000000##FFFFFF
##B31F401.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4940
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C5002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31f40;
/* rgb */ color: rgb(179, 31, 64);
/* oklch */ color: oklch(50.1% 0.181 15.4);
Tailwind
colors: {
  custom: {
    50: '#d26c74',
    500: '#b31f40',
    950: '#000000',
  },
}
SCSS
$custom: #b31f40;
$custom-light: #d26c74;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f40",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 346.622,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50115,
    "c": 0.18103,
    "h": 15.4
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#B31F40
secondary
#64CAB3
accent
#EDC53B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B31F40

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

Preview Lab → · Contrast checker → · Palette generator →

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