#B22B26#B22B26

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

Color values

HEX#B22B26
RGBrgb(178, 43, 38)
HSLhsl(2, 65%, 42%)
HSVhsv(2, 79%, 70%)
CMYKcmyk(0%, 75.8%, 78.7%, 30.2%)
CIE-LABlab(40.14, 53.30, 36.45)
CIE-LCHlch(40.14, 64.57, 34.37°)
OKLaboklab(50.45% 0.1529 0.0798)
OKLCHoklch(50.45% 0.172 27.5)
XYZxyz(19.5762, 11.3358, 2.9906)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B26 #26ADB2
analogous
#B22667 #B22B26 #B27126
triadic
#B22B26 #26B22B #2B26B2
tetradic
#B22B26 #67B226 #26ADB2 #7126B2
square
#B22B26 #67B226 #26ADB2 #7126B2
split-complementary
#B22B26 #26B271 #2667B2
monochromatic
#4D1310 #801F1B #B22B26 #D6453F #E17672

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22B26#FFFFFF#000000##FFFFFF
##B22B261.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C24
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#C4002C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22b26;
/* rgb */ color: rgb(178, 43, 38);
/* oklch */ color: oklch(50.4% 0.172 27.5);
Tailwind
colors: {
  custom: {
    50: '#d27061',
    500: '#b22b26',
    950: '#000000',
  },
}
SCSS
$custom: #b22b26;
$custom-light: #d27061;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b26",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 38
  },
  "hsl": {
    "h": 2.143,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.17248,
    "h": 27.5
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#B22B26
secondary
#6CC4C8
accent
#E2E840
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22B26

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

Preview Lab → · Contrast checker → · Palette generator →

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