#B22E27#B22E27

#B22E27 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.170 H 28.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B22E27
RGBrgb(178, 46, 39)
HSLhsl(3, 64%, 43%)
HSVhsv(3, 78%, 70%)
CMYKcmyk(0%, 74.2%, 78.1%, 30.2%)
CIE-LABlab(40.52, 52.30, 36.29)
CIE-LCHlch(40.52, 63.66, 34.75°)
OKLaboklab(50.74% 0.15 0.0797)
OKLCHoklch(50.74% 0.17 28)
XYZxyz(19.7056, 11.5685, 3.1144)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E27 #27ABB2
analogous
#B22765 #B22E27 #B27427
triadic
#B22E27 #27B22E #2E27B2
tetradic
#B22E27 #65B227 #27ABB2 #7427B2
square
#B22E27 #65B227 #27ABB2 #7427B2
split-complementary
#B22E27 #27B274 #2765B2
monochromatic
#4E1411 #80211C #B22E27 #D54841 #E07973

Accessibility & contrast

On white

6.34
#B22E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B22E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E27
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E27#FFFFFF#000000##FFFFFF
##B22E271.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D25
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22e27;
/* rgb */ color: rgb(178, 46, 39);
/* oklch */ color: oklch(50.7% 0.170 28.0);
Tailwind
colors: {
  custom: {
    50: '#d27162',
    500: '#b22e27',
    950: '#000000',
  },
}
SCSS
$custom: #b22e27;
$custom-light: #d27162;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e27",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 3.022,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.16988,
    "h": 28
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#B22E27
secondary
#6DC3C8
accent
#DFE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22E27

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

Preview Lab → · Contrast checker → · Palette generator →

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