#B22A2A#B22A2A

#B22A2A is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.173 H 26.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B22A2A
RGBrgb(178, 42, 42)
HSLhsl(0, 62%, 43%)
HSVhsv(0, 76%, 70%)
CMYKcmyk(0%, 76.4%, 76.4%, 30.2%)
CIE-LABlab(40.07, 53.77, 34.08)
CIE-LCHlch(40.07, 63.66, 32.36°)
OKLaboklab(50.41% 0.1553 0.0757)
OKLCHoklch(50.41% 0.173 26)
XYZxyz(19.6083, 11.2912, 3.3370)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A2A #2AB2B2
analogous
#B22A6E #B22A2A #B26E2A
triadic
#B22A2A #2AB22A #2A2AB2
tetradic
#B22A2A #6EB22A #2AB2B2 #6E2AB2
square
#B22A2A #6EB22A #2AB2B2 #6E2AB2
split-complementary
#B22A2A #2AB26E #2A6EB2
monochromatic
#4F1313 #801E1E #B22A2A #D34646 #DF7777

Accessibility & contrast

On white

6.45
#B22A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B22A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A2A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A2A#FFFFFF#000000##FFFFFF
##B22A2A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C28
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#C4002C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22a2a;
/* rgb */ color: rgb(178, 42, 42);
/* oklch */ color: oklch(50.4% 0.173 26.0);
Tailwind
colors: {
  custom: {
    50: '#d26f64',
    500: '#b22a2a',
    950: '#000000',
  },
}
SCSS
$custom: #b22a2a;
$custom-light: #d26f64;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a2a",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.17278,
    "h": 26
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#B22A2A
secondary
#71C7C7
accent
#E5E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B22A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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