#B22A2E#B22A2E

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

Color values

HEX#B22A2E
RGBrgb(178, 42, 46)
HSLhsl(358, 62%, 43%)
HSVhsv(358, 76%, 70%)
CMYKcmyk(0%, 76.4%, 74.2%, 30.2%)
CIE-LABlab(40.12, 53.94, 31.78)
CIE-LCHlch(40.12, 62.60, 30.51°)
OKLaboklab(50.46% 0.1567 0.0717)
OKLCHoklch(50.46% 0.172 24.6)
XYZxyz(19.6835, 11.3212, 3.7330)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A2E #2AB2AE
analogous
#B22A72 #B22A2E #B26A2A
triadic
#B22A2E #2EB22A #2A2EB2
tetradic
#B22A2E #72B22A #2AB2AE #6A2AB2
square
#B22A2E #72B22A #2AB2AE #6A2AB2
split-complementary
#B22A2E #2AB26A #2A72B2
monochromatic
#4F1314 #801E21 #B22A2E #D3464A #DF777A

Accessibility & contrast

On white

6.43
#B22A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22A2E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A2E#FFFFFF#000000##FFFFFF
##B22A2E1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2D
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22a2e;
/* rgb */ color: rgb(178, 42, 46);
/* oklch */ color: oklch(50.5% 0.172 24.6);
Tailwind
colors: {
  custom: {
    50: '#d26f67',
    500: '#b22a2e',
    950: '#000000',
  },
}
SCSS
$custom: #b22a2e;
$custom-light: #d26f67;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a2e",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 358.235,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.17232,
    "h": 24.6
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#B22A2E
secondary
#71C7C4
accent
#E5E043
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B22A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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