#B3271E#B3271E

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

Color values

HEX#B3271E
RGBrgb(179, 39, 30)
HSLhsl(4, 71%, 41%)
HSVhsv(4, 83%, 70%)
CMYKcmyk(0%, 78.2%, 83.2%, 29.8%)
CIE-LABlab(39.80, 54.64, 40.55)
CIE-LCHlch(39.80, 68.04, 36.58°)
OKLaboklab(50.21% 0.1555 0.0859)
OKLCHoklch(50.21% 0.178 28.9)
XYZxyz(19.5527, 11.1316, 2.3472)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3271E #1EAAB3
analogous
#B31E5F #B3271E #B3711E
triadic
#B3271E #1EB327 #271EB3
tetradic
#B3271E #5FB31E #1EAAB3 #711EB3
square
#B3271E #5FB31E #1EAAB3 #711EB3
split-complementary
#B3271E #1EB371 #1E5FB3
monochromatic
#4A100C #7F1C15 #B3271E #DD3C32 #E56E66

Accessibility & contrast

On white

6.51
#B3271E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B3271E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3271E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3271E#FFFFFF#000000##FFFFFF
##B3271E1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1B
Deuteranopia (green-blind)
#766916
Tritanopia (blue-blind)
#C60027
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b3271e;
/* rgb */ color: rgb(179, 39, 30);
/* oklch */ color: oklch(50.2% 0.178 28.9);
Tailwind
colors: {
  custom: {
    50: '#d36e5c',
    500: '#b3271e',
    950: '#000000',
  },
}
SCSS
$custom: #b3271e;
$custom-light: #d36e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3271e",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 3.624,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.17759,
    "h": 28.9
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#B3271E
secondary
#62C4CB
accent
#E3EE3A
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B3271E

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

Preview Lab → · Contrast checker → · Palette generator →

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