#B22834#B22834

#B22834 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.4% C 0.173 H 21.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B22834
RGBrgb(178, 40, 52)
HSLhsl(355, 63%, 43%)
HSVhsv(355, 78%, 70%)
CMYKcmyk(0%, 77.5%, 70.8%, 30.2%)
CIE-LABlab(39.97, 54.85, 27.99)
CIE-LCHlch(39.97, 61.58, 27.03°)
OKLaboklab(50.38% 0.1609 0.0646)
OKLCHoklch(50.38% 0.173 21.9)
XYZxyz(19.7410, 11.2336, 4.3770)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22834 #28B2A6
analogous
#B22879 #B22834 #B26128
triadic
#B22834 #34B228 #2834B2
tetradic
#B22834 #79B228 #28B2A6 #6128B2
square
#B22834 #79B228 #28B2A6 #6128B2
split-complementary
#B22834 #28B261 #2879B2
monochromatic
#4E1217 #801D25 #B22834 #D5434F #E0757E

Accessibility & contrast

On white

6.47
#B22834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B22834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22834
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22834#FFFFFF#000000##FFFFFF
##B228341.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B33
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22834;
/* rgb */ color: rgb(178, 40, 52);
/* oklch */ color: oklch(50.4% 0.173 21.9);
Tailwind
colors: {
  custom: {
    50: '#d16f6b',
    500: '#b22834',
    950: '#000000',
  },
}
SCSS
$custom: #b22834;
$custom-light: #d16f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b22834",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 354.783,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.17341,
    "h": 21.9
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#B22834
secondary
#6FC7C0
accent
#E6D841
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B22834

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

Preview Lab → · Contrast checker → · Palette generator →

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