#B22E2B#B22E2B

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

Color values

HEX#B22E2B
RGBrgb(178, 46, 43)
HSLhsl(1, 61%, 43%)
HSVhsv(1, 76%, 70%)
CMYKcmyk(0%, 74.2%, 75.8%, 30.2%)
CIE-LABlab(40.57, 52.45, 34.05)
CIE-LCHlch(40.57, 62.53, 32.99°)
OKLaboklab(50.79% 0.1514 0.0759)
OKLCHoklch(50.79% 0.169 26.6)
XYZxyz(19.7754, 11.5964, 3.4821)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E2B #2BAFB2
analogous
#B22B6B #B22E2B #B2712B
triadic
#B22E2B #2BB22E #2E2BB2
tetradic
#B22E2B #6BB22B #2BAFB2 #712BB2
square
#B22E2B #6BB22B #2BAFB2 #712BB2
split-complementary
#B22E2B #2BB271 #2B6BB2
monochromatic
#4F1513 #81211F #B22E2B #D34B48 #DF7B79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22E2B#FFFFFF#000000##FFFFFF
##B22E2B1.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)
#554D29
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22e2b;
/* rgb */ color: rgb(178, 46, 43);
/* oklch */ color: oklch(50.8% 0.169 26.6);
Tailwind
colors: {
  custom: {
    50: '#d27165',
    500: '#b22e2b',
    950: '#000000',
  },
}
SCSS
$custom: #b22e2b;
$custom-light: #d27165;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e2b",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 1.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.16932,
    "h": 26.6
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#B22E2B
secondary
#72C5C7
accent
#E1E444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B22E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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