#B3271C#B3271C

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

Color values

HEX#B3271C
RGBrgb(179, 39, 28)
HSLhsl(4, 73%, 41%)
HSVhsv(4, 84%, 70%)
CMYKcmyk(0%, 78.2%, 84.4%, 29.8%)
CIE-LABlab(39.78, 54.59, 41.57)
CIE-LCHlch(39.78, 68.61, 37.29°)
OKLaboklab(50.19% 0.1549 0.0874)
OKLCHoklch(50.19% 0.178 29.4)
XYZxyz(19.5279, 11.1217, 2.2169)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3271C #1CA8B3
analogous
#B31C5C #B3271C #B3721C
triadic
#B3271C #1CB327 #271CB3
tetradic
#B3271C #5CB31C #1CA8B3 #721CB3
square
#B3271C #5CB31C #1CA8B3 #721CB3
split-complementary
#B3271C #1CB372 #1C5CB3
monochromatic
#49100B #7E1B14 #B3271C #DE3B2E #E76C63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3271C#FFFFFF#000000##FFFFFF
##B3271C1.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)
#544A19
Deuteranopia (green-blind)
#766914
Tritanopia (blue-blind)
#C60026
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b3271c;
/* rgb */ color: rgb(179, 39, 28);
/* oklch */ color: oklch(50.2% 0.178 29.4);
Tailwind
colors: {
  custom: {
    50: '#d46e5a',
    500: '#b3271c',
    950: '#000000',
  },
}
SCSS
$custom: #b3271c;
$custom-light: #d46e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3271c",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 4.371,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.17784,
    "h": 29.4
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#B3271C
secondary
#5FC3CB
accent
#E2F038
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B3271C

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

Preview Lab → · Contrast checker → · Palette generator →

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