#B3271D#B3271D

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

Color values

HEX#B3271D
RGBrgb(179, 39, 29)
HSLhsl(4, 72%, 41%)
HSVhsv(4, 84%, 70%)
CMYKcmyk(0%, 78.2%, 83.8%, 29.8%)
CIE-LABlab(39.79, 54.61, 41.06)
CIE-LCHlch(39.79, 68.33, 36.94°)
OKLaboklab(50.2% 0.1552 0.0866)
OKLCHoklch(50.2% 0.178 29.2)
XYZxyz(19.5401, 11.1266, 2.2810)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3271D #1DA9B3
analogous
#B31D5E #B3271D #B3721D
triadic
#B3271D #1DB327 #271DB3
tetradic
#B3271D #5EB31D #1DA9B3 #721DB3
square
#B3271D #5EB31D #1DA9B3 #721DB3
split-complementary
#B3271D #1DB372 #1D5EB3
monochromatic
#4A100C #7E1C14 #B3271D #DD3B30 #E66D64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3271D#FFFFFF#000000##FFFFFF
##B3271D1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3271d;
/* rgb */ color: rgb(179, 39, 29);
/* oklch */ color: oklch(50.2% 0.178 29.2);
Tailwind
colors: {
  custom: {
    50: '#d46e5b',
    500: '#b3271d',
    950: '#000000',
  },
}
SCSS
$custom: #b3271d;
$custom-light: #d46e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3271d",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.502,
    "c": 0.17772,
    "h": 29.2
  },
  "luminance": 0.11123
}

Semantic roles & 50–950 ramp

primary
#B3271D
secondary
#61C4CB
accent
#E3EF39
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B3271D

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

Preview Lab → · Contrast checker → · Palette generator →

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