#B31D40#B31D40

#B31D40 is a mid, vivid red. Relative luminance 0.108; OKLCH L 50.0% C 0.182 H 15.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B31D40
RGBrgb(179, 29, 64)
HSLhsl(346, 72%, 41%)
HSVhsv(346, 84%, 70%)
CMYKcmyk(0%, 83.8%, 64.2%, 29.8%)
CIE-LABlab(39.30, 58.81, 19.71)
CIE-LCHlch(39.30, 62.03, 18.53°)
OKLaboklab(49.99% 0.1761 0.0475)
OKLCHoklch(49.99% 0.182 15.1)
XYZxyz(19.9574, 10.8357, 5.8901)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D40 #1DB390
analogous
#B31D8B #B31D40 #B3451D
triadic
#B31D40 #40B31D #1D40B3
tetradic
#B31D40 #8BB31D #1DB390 #451DB3
square
#B31D40 #8BB31D #1DB390 #451DB3
split-complementary
#B31D40 #1DB345 #1D8BB3
monochromatic
#4A0C1A #7E142D #B31D40 #DD3058 #E66483

Accessibility & contrast

On white

6.63
#B31D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B31D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D40
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D40#FFFFFF#000000##FFFFFF
##B31D401.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4940
Deuteranopia (green-blind)
#71673C
Tritanopia (blue-blind)
#C5002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31d40;
/* rgb */ color: rgb(179, 29, 64);
/* oklch */ color: oklch(50.0% 0.182 15.1);
Tailwind
colors: {
  custom: {
    50: '#d26b74',
    500: '#b31d40',
    950: '#000000',
  },
}
SCSS
$custom: #b31d40;
$custom-light: #d26b74;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d40",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 346,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.18241,
    "h": 15.1
  },
  "luminance": 0.10833
}

Semantic roles & 50–950 ramp

primary
#B31D40
secondary
#61CBB2
accent
#EFC439
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B31D40

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

Preview Lab → · Contrast checker → · Palette generator →

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