#B22929#B22929

#B22929 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.174 H 26.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B22929
RGBrgb(178, 41, 41)
HSLhsl(0, 63%, 43%)
HSVhsv(0, 77%, 70%)
CMYKcmyk(0%, 77%, 77%, 30.2%)
CIE-LABlab(39.94, 54.06, 34.52)
CIE-LCHlch(39.94, 64.14, 32.56°)
OKLaboklab(50.31% 0.156 0.0764)
OKLCHoklch(50.31% 0.174 26.1)
XYZxyz(19.5556, 11.2140, 3.2322)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22929 #29B2B2
analogous
#B2296D #B22929 #B26D29
triadic
#B22929 #29B229 #2929B2
tetradic
#B22929 #6DB229 #29B2B2 #6D29B2
square
#B22929 #6DB229 #29B2B2 #6D29B2
split-complementary
#B22929 #29B26D #296DB2
monochromatic
#4F1212 #801E1E #B22929 #D44444 #DF7676

Accessibility & contrast

On white

6.48
#B22929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B22929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22929
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22929#FFFFFF#000000##FFFFFF
##B229291.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B27
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#C4002B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22929;
/* rgb */ color: rgb(178, 41, 41);
/* oklch */ color: oklch(50.3% 0.174 26.1);
Tailwind
colors: {
  custom: {
    50: '#d26f63',
    500: '#b22929',
    950: '#000000',
  },
}
SCSS
$custom: #b22929;
$custom-light: #d26f63;
$custom-dark: #000000;
JSON
{
  "hex": "#b22929",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 41
  },
  "hsl": {
    "h": 0,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50311,
    "c": 0.1737,
    "h": 26.1
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#B22929
secondary
#70C7C7
accent
#E6E642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22929

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

Preview Lab → · Contrast checker → · Palette generator →

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