#B4271C#B4271C

#B4271C is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.4% C 0.179 H 29.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B4271C
RGBrgb(180, 39, 28)
HSLhsl(4, 73%, 41%)
HSVhsv(4, 84%, 71%)
CMYKcmyk(0%, 78.3%, 84.4%, 29.4%)
CIE-LABlab(39.98, 54.89, 41.82)
CIE-LCHlch(39.98, 69.01, 37.30°)
OKLaboklab(50.38% 0.1558 0.0878)
OKLCHoklch(50.38% 0.179 29.4)
XYZxyz(19.7600, 11.2414, 2.2278)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4271C #1CA9B4
analogous
#B41C5D #B4271C #B4731C
triadic
#B4271C #1CB427 #271CB4
tetradic
#B4271C #5DB41C #1CA9B4 #731CB4
square
#B4271C #5DB41C #1CA9B4 #731CB4
split-complementary
#B4271C #1CB473 #1C5DB4
monochromatic
#4A100C #7F1C14 #B4271C #DF3B2F #E76D64

Accessibility & contrast

On white

6.47
#B4271C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B4271C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4271C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4271C#FFFFFF#000000##FFFFFF
##B4271C1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A19
Deuteranopia (green-blind)
#766913
Tritanopia (blue-blind)
#C70026
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b4271c;
/* rgb */ color: rgb(180, 39, 28);
/* oklch */ color: oklch(50.4% 0.179 29.4);
Tailwind
colors: {
  custom: {
    50: '#d46e5a',
    500: '#b4271c',
    950: '#000000',
  },
}
SCSS
$custom: #b4271c;
$custom-light: #d46e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4271c",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 4.342,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50375,
    "c": 0.1788,
    "h": 29.4
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#B4271C
secondary
#60C4CC
accent
#E2F038
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B4271C

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

Preview Lab → · Contrast checker → · Palette generator →

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