#B22A31#B22A31

#B22A31 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 23.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B22A31
RGBrgb(178, 42, 49)
HSLhsl(357, 62%, 43%)
HSVhsv(357, 76%, 70%)
CMYKcmyk(0%, 76.4%, 72.5%, 30.2%)
CIE-LABlab(40.16, 54.07, 30.03)
CIE-LCHlch(40.16, 61.85, 29.05°)
OKLaboklab(50.51% 0.1578 0.0685)
OKLCHoklch(50.51% 0.172 23.5)
XYZxyz(19.7447, 11.3457, 4.0554)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A31 #2AB2AB
analogous
#B22A75 #B22A31 #B2672A
triadic
#B22A31 #31B22A #2A31B2
tetradic
#B22A31 #75B22A #2AB2AB #672AB2
square
#B22A31 #75B22A #2AB2AB #672AB2
split-complementary
#B22A31 #2AB267 #2A75B2
monochromatic
#4F1316 #801E23 #B22A31 #D3464D #DF777D

Accessibility & contrast

On white

6.42
#B22A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B22A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A31
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A31#FFFFFF#000000##FFFFFF
##B22A311.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#75692C
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22a31;
/* rgb */ color: rgb(178, 42, 49);
/* oklch */ color: oklch(50.5% 0.172 23.5);
Tailwind
colors: {
  custom: {
    50: '#d16f69',
    500: '#b22a31',
    950: '#000000',
  },
}
SCSS
$custom: #b22a31;
$custom-light: #d16f69;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a31",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 356.912,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50506,
    "c": 0.17202,
    "h": 23.5
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#B22A31
secondary
#71C7C2
accent
#E5DD43
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B22A31

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

Preview Lab → · Contrast checker → · Palette generator →

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