#B22828#B22828

#B22828 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.175 H 26.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B22828
RGBrgb(178, 40, 40)
HSLhsl(0, 63%, 43%)
HSVhsv(0, 78%, 70%)
CMYKcmyk(0%, 77.5%, 77.5%, 30.2%)
CIE-LABlab(39.81, 54.34, 34.96)
CIE-LCHlch(39.81, 64.62, 32.76°)
OKLaboklab(50.21% 0.1567 0.0771)
OKLCHoklch(50.21% 0.175 26.2)
XYZxyz(19.5042, 11.1389, 3.1301)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22828 #28B2B2
analogous
#B2286D #B22828 #B26D28
triadic
#B22828 #28B228 #2828B2
tetradic
#B22828 #6DB228 #28B2B2 #6D28B2
square
#B22828 #6DB228 #28B2B2 #6D28B2
split-complementary
#B22828 #28B26D #286DB2
monochromatic
#4E1212 #801D1D #B22828 #D54343 #E07575

Accessibility & contrast

On white

6.51
#B22828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B22828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22828
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22828#FFFFFF#000000##FFFFFF
##B228281.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#C4002A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22828;
/* rgb */ color: rgb(178, 40, 40);
/* oklch */ color: oklch(50.2% 0.175 26.2);
Tailwind
colors: {
  custom: {
    50: '#d26e62',
    500: '#b22828',
    950: '#000000',
  },
}
SCSS
$custom: #b22828;
$custom-light: #d26e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b22828",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.17461,
    "h": 26.2
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#B22828
secondary
#6FC7C7
accent
#E6E641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22828

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

Preview Lab → · Contrast checker → · Palette generator →

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