#B22831#B22831

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

Color values

HEX#B22831
RGBrgb(178, 40, 49)
HSLhsl(356, 63%, 43%)
HSVhsv(356, 78%, 70%)
CMYKcmyk(0%, 77.5%, 72.5%, 30.2%)
CIE-LABlab(39.93, 54.71, 29.76)
CIE-LCHlch(39.93, 62.28, 28.55°)
OKLaboklab(50.33% 0.1598 0.0679)
OKLCHoklch(50.33% 0.174 23)
XYZxyz(19.6755, 11.2074, 4.0324)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22831 #28B2A9
analogous
#B22876 #B22831 #B26428
triadic
#B22831 #31B228 #2831B2
tetradic
#B22831 #76B228 #28B2A9 #6428B2
square
#B22831 #76B228 #28B2A9 #6428B2
split-complementary
#B22831 #28B264 #2876B2
monochromatic
#4E1215 #801D23 #B22831 #D5434C #E0757C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22831#FFFFFF#000000##FFFFFF
##B228311.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)
#524B30
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22831;
/* rgb */ color: rgb(178, 40, 49);
/* oklch */ color: oklch(50.3% 0.174 23.0);
Tailwind
colors: {
  custom: {
    50: '#d16e69',
    500: '#b22831',
    950: '#000000',
  },
}
SCSS
$custom: #b22831;
$custom-light: #d16e69;
$custom-dark: #000000;
JSON
{
  "hex": "#b22831",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 356.087,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.17366,
    "h": 23
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#B22831
secondary
#6FC7C1
accent
#E6DC41
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B22831

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

Preview Lab → · Contrast checker → · Palette generator →

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