#B3271F#B3271F

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

Color values

HEX#B3271F
RGBrgb(179, 39, 31)
HSLhsl(3, 70%, 41%)
HSVhsv(3, 83%, 70%)
CMYKcmyk(0%, 78.2%, 82.7%, 29.8%)
CIE-LABlab(39.81, 54.67, 40.03)
CIE-LCHlch(39.81, 67.75, 36.21°)
OKLaboklab(50.22% 0.1557 0.0851)
OKLCHoklch(50.22% 0.177 28.7)
XYZxyz(19.5657, 11.1368, 2.4155)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3271F #1FABB3
analogous
#B31F61 #B3271F #B3711F
triadic
#B3271F #1FB327 #271FB3
tetradic
#B3271F #61B31F #1FABB3 #711FB3
square
#B3271F #61B31F #1FABB3 #711FB3
split-complementary
#B3271F #1FB371 #1F61B3
monochromatic
#4B100D #7F1C16 #B3271F #DC3D33 #E56E68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3271F#FFFFFF#000000##FFFFFF
##B3271F1.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)
#534A1C
Deuteranopia (green-blind)
#766917
Tritanopia (blue-blind)
#C60027
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b3271f;
/* rgb */ color: rgb(179, 39, 31);
/* oklch */ color: oklch(50.2% 0.177 28.7);
Tailwind
colors: {
  custom: {
    50: '#d36e5c',
    500: '#b3271f',
    950: '#000000',
  },
}
SCSS
$custom: #b3271f;
$custom-light: #d36e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3271f",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 3.243,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50218,
    "c": 0.17747,
    "h": 28.7
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#B3271F
secondary
#64C5CA
accent
#E4ED3B
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B3271F

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

Preview Lab → · Contrast checker → · Palette generator →

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