#B3271B#B3271B

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

Color values

HEX#B3271B
RGBrgb(179, 39, 27)
HSLhsl(5, 74%, 40%)
HSVhsv(5, 85%, 70%)
CMYKcmyk(0%, 78.2%, 84.9%, 29.8%)
CIE-LABlab(39.78, 54.56, 42.07)
CIE-LCHlch(39.78, 68.90, 37.63°)
OKLaboklab(50.18% 0.1547 0.0881)
OKLCHoklch(50.18% 0.178 29.7)
XYZxyz(19.5162, 11.1170, 2.1549)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3271B #1BA7B3
analogous
#B31B5B #B3271B #B3731B
triadic
#B3271B #1BB327 #271BB3
tetradic
#B3271B #5BB31B #1BA7B3 #731BB3
square
#B3271B #5BB31B #1BA7B3 #731BB3
split-complementary
#B3271B #1BB373 #1B5BB3
monochromatic
#49100B #7E1B13 #B3271B #DF3A2C #E76C61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3271B#FFFFFF#000000##FFFFFF
##B3271B1.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)
#544A17
Deuteranopia (green-blind)
#766912
Tritanopia (blue-blind)
#C60026
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b3271b;
/* rgb */ color: rgb(179, 39, 27);
/* oklch */ color: oklch(50.2% 0.178 29.7);
Tailwind
colors: {
  custom: {
    50: '#d46e5a',
    500: '#b3271b',
    950: '#000000',
  },
}
SCSS
$custom: #b3271b;
$custom-light: #d46e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3271b",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 4.737,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50183,
    "c": 0.17797,
    "h": 29.7
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#B3271B
secondary
#5EC3CC
accent
#E2F037
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B3271B

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

Preview Lab → · Contrast checker → · Palette generator →

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