#B22931#B22931

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

Color values

HEX#B22931
RGBrgb(178, 41, 49)
HSLhsl(356, 63%, 43%)
HSVhsv(356, 77%, 70%)
CMYKcmyk(0%, 77%, 72.5%, 30.2%)
CIE-LABlab(40.04, 54.39, 29.89)
CIE-LCHlch(40.04, 62.07, 28.79°)
OKLaboklab(50.42% 0.1588 0.0682)
OKLCHoklch(50.42% 0.173 23.2)
XYZxyz(19.7097, 11.2757, 4.0438)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22931 #29B2AA
analogous
#B22976 #B22931 #B26529
triadic
#B22931 #31B229 #2931B2
tetradic
#B22931 #76B229 #29B2AA #6529B2
square
#B22931 #76B229 #29B2AA #6529B2
split-complementary
#B22931 #29B265 #2976B2
monochromatic
#4F1216 #801E23 #B22931 #D4444D #DF767C

Accessibility & contrast

On white

6.45
#B22931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22931
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22931#FFFFFF#000000##FFFFFF
##B229311.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C30
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22931;
/* rgb */ color: rgb(178, 41, 49);
/* oklch */ color: oklch(50.4% 0.173 23.2);
Tailwind
colors: {
  custom: {
    50: '#d16f69',
    500: '#b22931',
    950: '#000000',
  },
}
SCSS
$custom: #b22931;
$custom-light: #d16f69;
$custom-dark: #000000;
JSON
{
  "hex": "#b22931",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 49
  },
  "hsl": {
    "h": 356.496,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.17284,
    "h": 23.2
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#B22931
secondary
#70C7C2
accent
#E6DC42
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B22931

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

Preview Lab → · Contrast checker → · Palette generator →

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