#B22928#B22928

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

Color values

HEX#B22928
RGBrgb(178, 41, 40)
HSLhsl(0, 63%, 43%)
HSVhsv(0, 78%, 70%)
CMYKcmyk(0%, 77%, 77.5%, 30.2%)
CIE-LABlab(39.93, 54.02, 35.08)
CIE-LCHlch(39.93, 64.42, 33.00°)
OKLaboklab(50.3% 0.1557 0.0774)
OKLCHoklch(50.3% 0.174 26.4)
XYZxyz(19.5384, 11.2071, 3.1415)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22928 #28B1B2
analogous
#B2286C #B22928 #B26E28
triadic
#B22928 #28B229 #2928B2
tetradic
#B22928 #6CB228 #28B1B2 #6E28B2
square
#B22928 #6CB228 #28B1B2 #6E28B2
split-complementary
#B22928 #28B26E #286CB2
monochromatic
#4E1212 #801D1D #B22928 #D54443 #E07575

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22928#FFFFFF#000000##FFFFFF
##B229281.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)
#534B26
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#C4002B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22928;
/* rgb */ color: rgb(178, 41, 40);
/* oklch */ color: oklch(50.3% 0.174 26.4);
Tailwind
colors: {
  custom: {
    50: '#d26f62',
    500: '#b22928',
    950: '#000000',
  },
}
SCSS
$custom: #b22928;
$custom-light: #d26f62;
$custom-dark: #000000;
JSON
{
  "hex": "#b22928",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 40
  },
  "hsl": {
    "h": 0.435,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.17383,
    "h": 26.4
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22928

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

Preview Lab → · Contrast checker → · Palette generator →

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