#B22C28#B22C28

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

Color values

HEX#B22C28
RGBrgb(178, 44, 40)
HSLhsl(2, 63%, 43%)
HSVhsv(2, 78%, 70%)
CMYKcmyk(0%, 75.3%, 77.5%, 30.2%)
CIE-LABlab(40.28, 53.03, 35.47)
CIE-LCHlch(40.28, 63.80, 33.77°)
OKLaboklab(50.56% 0.1525 0.0782)
OKLCHoklch(50.56% 0.171 27.1)
XYZxyz(19.6461, 11.4226, 3.1774)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C28 #28AEB2
analogous
#B22869 #B22C28 #B27128
triadic
#B22C28 #28B22C #2C28B2
tetradic
#B22C28 #69B228 #28AEB2 #7128B2
square
#B22C28 #69B228 #28AEB2 #7128B2
split-complementary
#B22C28 #28B271 #2869B2
monochromatic
#4E1312 #80201D #B22C28 #D54743 #E07875

Accessibility & contrast

On white

6.39
#B22C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22C28
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22C28#FFFFFF#000000##FFFFFF
##B22C281.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C26
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22c28;
/* rgb */ color: rgb(178, 44, 40);
/* oklch */ color: oklch(50.6% 0.171 27.1);
Tailwind
colors: {
  custom: {
    50: '#d27063',
    500: '#b22c28',
    950: '#000000',
  },
}
SCSS
$custom: #b22c28;
$custom-light: #d27063;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c28",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 40
  },
  "hsl": {
    "h": 1.739,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.17141,
    "h": 27.1
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#B22C28
secondary
#6FC5C7
accent
#E2E641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22C28

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

Preview Lab → · Contrast checker → · Palette generator →

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