#B31B3E#B31B3E

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

Color values

HEX#B31B3E
RGBrgb(179, 27, 62)
HSLhsl(346, 74%, 40%)
HSVhsv(346, 85%, 70%)
CMYKcmyk(0%, 84.9%, 65.4%, 29.8%)
CIE-LABlab(39.10, 59.16, 20.72)
CIE-LCHlch(39.10, 62.68, 19.30°)
OKLaboklab(49.83% 0.1768 0.0496)
OKLCHoklch(49.83% 0.184 15.7)
XYZxyz(19.8541, 10.7185, 5.5800)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B3E #1BB390
analogous
#B31B8A #B31B3E #B3441B
triadic
#B31B3E #3EB31B #1B3EB3
tetradic
#B31B3E #8AB31B #1BB390 #441BB3
square
#B31B3E #8AB31B #1BB390 #441BB3
split-complementary
#B31B3E #1BB344 #1B8AB3
monochromatic
#490B19 #7E132C #B31B3E #DF2C55 #E76180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31B3E#FFFFFF#000000##FFFFFF
##B31B3E1.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)
#4B483E
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#C5002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31b3e;
/* rgb */ color: rgb(179, 27, 62);
/* oklch */ color: oklch(49.8% 0.184 15.7);
Tailwind
colors: {
  custom: {
    50: '#d26a73',
    500: '#b31b3e',
    950: '#000000',
  },
}
SCSS
$custom: #b31b3e;
$custom-light: #d26a73;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b3e",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 346.184,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.18366,
    "h": 15.7
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#B31B3E
secondary
#5ECCB2
accent
#F0C637
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160808
muted
#847A7B

Preview Lab

Preview with #B31B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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