#B22B2A#B22B2A

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

Color values

HEX#B22B2A
RGBrgb(178, 43, 42)
HSLhsl(0, 62%, 43%)
HSVhsv(0, 76%, 70%)
CMYKcmyk(0%, 75.8%, 76.4%, 30.2%)
CIE-LABlab(40.19, 53.44, 34.21)
CIE-LCHlch(40.19, 63.45, 32.62°)
OKLaboklab(50.5% 0.1543 0.076)
OKLCHoklch(50.5% 0.172 26.2)
XYZxyz(19.6442, 11.3630, 3.3490)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B2A #2AB1B2
analogous
#B22A6D #B22B2A #B26F2A
triadic
#B22B2A #2AB22B #2B2AB2
tetradic
#B22B2A #6DB22A #2AB1B2 #6F2AB2
square
#B22B2A #6DB22A #2AB1B2 #6F2AB2
split-complementary
#B22B2A #2AB26F #2A6DB2
monochromatic
#4F1313 #801F1E #B22B2A #D34746 #DF7877

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22B2A#FFFFFF#000000##FFFFFF
##B22B2A1.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)
#544C28
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22b2a;
/* rgb */ color: rgb(178, 43, 42);
/* oklch */ color: oklch(50.5% 0.172 26.2);
Tailwind
colors: {
  custom: {
    50: '#d27064',
    500: '#b22b2a',
    950: '#000000',
  },
}
SCSS
$custom: #b22b2a;
$custom-light: #d27064;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b2a",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 42
  },
  "hsl": {
    "h": 0.441,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.17197,
    "h": 26.2
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#B22B2A
secondary
#71C6C7
accent
#E4E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B22B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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