#B22832#B22832

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

Color values

HEX#B22832
RGBrgb(178, 40, 50)
HSLhsl(356, 63%, 43%)
HSVhsv(356, 78%, 70%)
CMYKcmyk(0%, 77.5%, 71.9%, 30.2%)
CIE-LABlab(39.94, 54.76, 29.17)
CIE-LCHlch(39.94, 62.04, 28.05°)
OKLaboklab(50.35% 0.1602 0.0668)
OKLCHoklch(50.35% 0.174 22.6)
XYZxyz(19.6969, 11.2159, 4.1448)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22832 #28B2A8
analogous
#B22877 #B22832 #B26328
triadic
#B22832 #32B228 #2832B2
tetradic
#B22832 #77B228 #28B2A8 #6328B2
square
#B22832 #77B228 #28B2A8 #6328B2
split-complementary
#B22832 #28B263 #2877B2
monochromatic
#4E1216 #801D24 #B22832 #D5434D #E0757C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22832#FFFFFF#000000##FFFFFF
##B228321.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)
#524B31
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22832;
/* rgb */ color: rgb(178, 40, 50);
/* oklch */ color: oklch(50.3% 0.174 22.6);
Tailwind
colors: {
  custom: {
    50: '#d16f6a',
    500: '#b22832',
    950: '#000000',
  },
}
SCSS
$custom: #b22832;
$custom-light: #d16f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22832",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 50
  },
  "hsl": {
    "h": 355.652,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5035,
    "c": 0.17357,
    "h": 22.6
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22832

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

Preview Lab → · Contrast checker → · Palette generator →

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