#B31E31#B31E31

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

Color values

HEX#B31E31
RGBrgb(179, 30, 49)
HSLhsl(352, 71%, 41%)
HSVhsv(352, 83%, 70%)
CMYKcmyk(0%, 83.2%, 72.6%, 29.8%)
CIE-LABlab(39.13, 57.81, 28.88)
CIE-LCHlch(39.13, 64.62, 26.55°)
OKLaboklab(49.78% 0.1696 0.0659)
OKLCHoklch(49.78% 0.182 21.2)
XYZxyz(19.6114, 10.7372, 3.9450)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E31 #1EB3A0
analogous
#B31E7B #B31E31 #B3551E
triadic
#B31E31 #31B31E #1E31B3
tetradic
#B31E31 #7BB31E #1EB3A0 #551EB3
square
#B31E31 #7BB31E #1EB3A0 #551EB3
split-complementary
#B31E31 #1EB355 #1E7BB3
monochromatic
#4A0C14 #7F1523 #B31E31 #DD3247 #E56676

Accessibility & contrast

On white

6.67
#B31E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B31E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E31
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E31#FFFFFF#000000##FFFFFF
##B31E311.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4830
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C50027
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e31;
/* rgb */ color: rgb(179, 30, 49);
/* oklch */ color: oklch(49.8% 0.182 21.2);
Tailwind
colors: {
  custom: {
    50: '#d36b69',
    500: '#b31e31',
    950: '#000000',
  },
}
SCSS
$custom: #b31e31;
$custom-light: #d36b69;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e31",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 49
  },
  "hsl": {
    "h": 352.349,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49783,
    "c": 0.18194,
    "h": 21.2
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#B31E31
secondary
#62CBBD
accent
#EED73A
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #B31E31

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

Preview Lab → · Contrast checker → · Palette generator →

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