#B22A28#B22A28

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

Color values

HEX#B22A28
RGBrgb(178, 42, 40)
HSLhsl(1, 63%, 43%)
HSVhsv(1, 78%, 70%)
CMYKcmyk(0%, 76.4%, 77.5%, 30.2%)
CIE-LABlab(40.04, 53.70, 35.21)
CIE-LCHlch(40.04, 64.21, 33.25°)
OKLaboklab(50.39% 0.1546 0.0776)
OKLCHoklch(50.39% 0.173 26.7)
XYZxyz(19.5734, 11.2772, 3.1532)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A28 #28B0B2
analogous
#B2286B #B22A28 #B26F28
triadic
#B22A28 #28B22A #2A28B2
tetradic
#B22A28 #6BB228 #28B0B2 #6F28B2
square
#B22A28 #6BB228 #28B0B2 #6F28B2
split-complementary
#B22A28 #28B26F #286BB2
monochromatic
#4E1212 #801E1D #B22A28 #D54543 #E07675

Accessibility & contrast

On white

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

On black

3.25
#B22A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B22A28#FFFFFF#000000##FFFFFF
##B22A281.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B26
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#C4002B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22a28;
/* rgb */ color: rgb(178, 42, 40);
/* oklch */ color: oklch(50.4% 0.173 26.7);
Tailwind
colors: {
  custom: {
    50: '#d26f62',
    500: '#b22a28',
    950: '#000000',
  },
}
SCSS
$custom: #b22a28;
$custom-light: #d26f62;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a28",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 0.87,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.17304,
    "h": 26.7
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#B22A28
secondary
#6FC6C7
accent
#E4E641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22A28

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

Preview Lab → · Contrast checker → · Palette generator →

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