#B22E2A#B22E2A

#B22E2A is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.169 H 27.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B22E2A
RGBrgb(178, 46, 42)
HSLhsl(2, 62%, 43%)
HSVhsv(2, 76%, 70%)
CMYKcmyk(0%, 74.2%, 76.4%, 30.2%)
CIE-LABlab(40.56, 52.41, 34.61)
CIE-LCHlch(40.56, 62.81, 33.44°)
OKLaboklab(50.77% 0.151 0.0769)
OKLCHoklch(50.77% 0.169 27)
XYZxyz(19.7573, 11.5892, 3.3867)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E2A #2AAEB2
analogous
#B22A6A #B22E2A #B2722A
triadic
#B22E2A #2AB22E #2E2AB2
tetradic
#B22E2A #6AB22A #2AAEB2 #722AB2
square
#B22E2A #6AB22A #2AAEB2 #722AB2
split-complementary
#B22E2A #2AB272 #2A6AB2
monochromatic
#4F1413 #80211E #B22E2A #D34A46 #DF7A77

Accessibility & contrast

On white

6.33
#B22E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B22E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E2A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E2A#FFFFFF#000000##FFFFFF
##B22E2A1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22e2a;
/* rgb */ color: rgb(178, 46, 42);
/* oklch */ color: oklch(50.8% 0.169 27.0);
Tailwind
colors: {
  custom: {
    50: '#d27164',
    500: '#b22e2a',
    950: '#000000',
  },
}
SCSS
$custom: #b22e2a;
$custom-light: #d27164;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e2a",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 1.765,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.16946,
    "h": 27
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#B22E2A
secondary
#71C4C7
accent
#E0E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B22E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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