#B31E30#B31E30

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

Color values

HEX#B31E30
RGBrgb(179, 30, 48)
HSLhsl(353, 71%, 41%)
HSVhsv(353, 83%, 70%)
CMYKcmyk(0%, 83.2%, 73.2%, 29.8%)
CIE-LABlab(39.12, 57.77, 29.47)
CIE-LCHlch(39.12, 64.85, 27.03°)
OKLaboklab(49.77% 0.1692 0.067)
OKLCHoklch(49.77% 0.182 21.6)
XYZxyz(19.5905, 10.7288, 3.8351)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E30 #1EB3A1
analogous
#B31E7A #B31E30 #B3561E
triadic
#B31E30 #30B31E #1E30B3
tetradic
#B31E30 #7AB31E #1EB3A1 #561EB3
square
#B31E30 #7AB31E #1EB3A1 #561EB3
split-complementary
#B31E30 #1EB356 #1E7AB3
monochromatic
#4A0C14 #7F1522 #B31E30 #DD3246 #E56675

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31E30#FFFFFF#000000##FFFFFF
##B31E301.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482F
Deuteranopia (green-blind)
#73672B
Tritanopia (blue-blind)
#C50027
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e30;
/* rgb */ color: rgb(179, 30, 48);
/* oklch */ color: oklch(49.8% 0.182 21.6);
Tailwind
colors: {
  custom: {
    50: '#d36b68',
    500: '#b31e30',
    950: '#000000',
  },
}
SCSS
$custom: #b31e30;
$custom-light: #d36b68;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e30",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 48
  },
  "hsl": {
    "h": 352.752,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.18199,
    "h": 21.6
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#B31E30
secondary
#62CBBE
accent
#EED83A
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #B31E30

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

Preview Lab → · Contrast checker → · Palette generator →

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