#B22B31#B22B31

#B22B31 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.171 H 23.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B22B31
RGBrgb(178, 43, 49)
HSLhsl(357, 61%, 43%)
HSVhsv(357, 76%, 70%)
CMYKcmyk(0%, 75.8%, 72.5%, 30.2%)
CIE-LABlab(40.27, 53.74, 30.17)
CIE-LCHlch(40.27, 61.63, 29.31°)
OKLaboklab(50.59% 0.1567 0.0688)
OKLCHoklch(50.59% 0.171 23.7)
XYZxyz(19.7806, 11.4175, 4.0674)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B31 #2BB2AC
analogous
#B22B74 #B22B31 #B2682B
triadic
#B22B31 #31B22B #2B31B2
tetradic
#B22B31 #74B22B #2BB2AC #682BB2
square
#B22B31 #74B22B #2BB2AC #682BB2
split-complementary
#B22B31 #2BB268 #2B74B2
monochromatic
#4F1316 #811F23 #B22B31 #D3484E #DF797D

Accessibility & contrast

On white

6.40
#B22B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B22B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B31
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B31#FFFFFF#000000##FFFFFF
##B22B311.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#75692C
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22b31;
/* rgb */ color: rgb(178, 43, 49);
/* oklch */ color: oklch(50.6% 0.171 23.7);
Tailwind
colors: {
  custom: {
    50: '#d17069',
    500: '#b22b31',
    950: '#000000',
  },
}
SCSS
$custom: #b22b31;
$custom-light: #d17069;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b31",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 49
  },
  "hsl": {
    "h": 357.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50594,
    "c": 0.17117,
    "h": 23.7
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#B22B31
secondary
#72C7C3
accent
#E4DD44
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B22B31

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

Preview Lab → · Contrast checker → · Palette generator →

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