#B3271A#B3271A

#B3271A is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.178 H 29.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B3271A
RGBrgb(179, 39, 26)
HSLhsl(5, 75%, 40%)
HSVhsv(5, 85%, 70%)
CMYKcmyk(0%, 78.2%, 85.5%, 29.8%)
CIE-LABlab(39.77, 54.54, 42.56)
CIE-LCHlch(39.77, 69.18, 37.97°)
OKLaboklab(50.18% 0.1544 0.0888)
OKLCHoklch(50.18% 0.178 29.9)
XYZxyz(19.5048, 11.1125, 2.0950)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3271A #1AA6B3
analogous
#B31A59 #B3271A #B3731A
triadic
#B3271A #1AB327 #271AB3
tetradic
#B3271A #59B31A #1AA6B3 #731AB3
square
#B3271A #59B31A #1AA6B3 #731AB3
split-complementary
#B3271A #1AB373 #1A59B3
monochromatic
#48100A #7E1B12 #B3271A #E03A2A #E86B60

Accessibility & contrast

On white

6.52
#B3271A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B3271A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3271A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3271A#FFFFFF#000000##FFFFFF
##B3271A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A16
Deuteranopia (green-blind)
#766911
Tritanopia (blue-blind)
#C60026
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b3271a;
/* rgb */ color: rgb(179, 39, 26);
/* oklch */ color: oklch(50.2% 0.178 29.9);
Tailwind
colors: {
  custom: {
    50: '#d46e59',
    500: '#b3271a',
    950: '#000000',
  },
}
SCSS
$custom: #b3271a;
$custom-light: #d46e59;
$custom-dark: #000000;
JSON
{
  "hex": "#b3271a",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 5.098,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.17809,
    "h": 29.9
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#B3271A
secondary
#5DC3CC
accent
#E1F137
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B3271A

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

Preview Lab → · Contrast checker → · Palette generator →

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