#B22F31#B22F31

#B22F31 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.168 H 24.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B22F31
RGBrgb(178, 47, 49)
HSLhsl(359, 58%, 44%)
HSVhsv(359, 74%, 70%)
CMYKcmyk(0%, 73.6%, 72.5%, 30.2%)
CIE-LABlab(40.77, 52.36, 30.75)
CIE-LCHlch(40.77, 60.72, 30.42°)
OKLaboklab(50.96% 0.1523 0.0701)
OKLCHoklch(50.96% 0.168 24.7)
XYZxyz(19.9332, 11.7228, 4.1183)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F31 #2FB2B0
analogous
#B22F73 #B22F31 #B26F2F
triadic
#B22F31 #31B22F #2F31B2
tetradic
#B22F31 #73B22F #2FB2B0 #6F2FB2
square
#B22F31 #73B22F #2FB2B0 #6F2FB2
split-complementary
#B22F31 #2FB26F #2F73B2
monochromatic
#511516 #822224 #B22F31 #D04E50 #DD7E80

Accessibility & contrast

On white

6.28
#B22F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B22F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F31
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F31#FFFFFF#000000##FFFFFF
##B22F311.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E30
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22f31;
/* rgb */ color: rgb(178, 47, 49);
/* oklch */ color: oklch(51.0% 0.168 24.7);
Tailwind
colors: {
  custom: {
    50: '#d17269',
    500: '#b22f31',
    950: '#000000',
  },
}
SCSS
$custom: #b22f31;
$custom-light: #d17269;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f31",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 359.084,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.16769,
    "h": 24.7
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#B22F31
secondary
#77C6C5
accent
#E1DF46
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B22F31

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

Preview Lab → · Contrast checker → · Palette generator →

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