#B3231A#B3231A

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

Color values

HEX#B3231A
RGBrgb(179, 35, 26)
HSLhsl(4, 75%, 40%)
HSVhsv(4, 85%, 70%)
CMYKcmyk(0%, 80.4%, 85.5%, 29.8%)
CIE-LABlab(39.35, 55.72, 42.19)
CIE-LCHlch(39.35, 69.89, 37.14°)
OKLaboklab(49.86% 0.1581 0.0879)
OKLCHoklch(49.86% 0.181 29.1)
XYZxyz(19.3803, 10.8635, 2.0535)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3231A #1AAAB3
analogous
#B31A5E #B3231A #B36F1A
triadic
#B3231A #1AB323 #231AB3
tetradic
#B3231A #5EB31A #1AAAB3 #6F1AB3
square
#B3231A #5EB31A #1AAAB3 #6F1AB3
split-complementary
#B3231A #1AB36F #1A5EB3
monochromatic
#480E0A #7E1912 #B3231A #E0352A #E86860

Accessibility & contrast

On white

6.62
#B3231A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3231A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3231A#FFFFFF#000000##FFFFFF
##B3231A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524917
Deuteranopia (green-blind)
#756811
Tritanopia (blue-blind)
#C60023
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b3231a;
/* rgb */ color: rgb(179, 35, 26);
/* oklch */ color: oklch(49.9% 0.181 29.1);
Tailwind
colors: {
  custom: {
    50: '#d46c59',
    500: '#b3231a',
    950: '#000000',
  },
}
SCSS
$custom: #b3231a;
$custom-light: #d46c59;
$custom-dark: #000000;
JSON
{
  "hex": "#b3231a",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 3.529,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49863,
    "c": 0.18088,
    "h": 29.1
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#B3231A
secondary
#5DC6CC
accent
#E6F137
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160803
muted
#847A78

Preview Lab

Preview with #B3231A

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

Preview Lab → · Contrast checker → · Palette generator →

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