#B22F36#B22F36

#B22F36 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.167 H 22.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B22F36
RGBrgb(178, 47, 54)
HSLhsl(357, 58%, 44%)
HSVhsv(357, 74%, 70%)
CMYKcmyk(0%, 73.6%, 69.7%, 30.2%)
CIE-LABlab(40.84, 52.60, 27.82)
CIE-LCHlch(40.84, 59.50, 27.88°)
OKLaboklab(51.04% 0.1542 0.0646)
OKLCHoklch(51.04% 0.167 22.7)
XYZxyz(20.0447, 11.7674, 4.7052)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F36 #2FB2AB
analogous
#B22F78 #B22F36 #B26A2F
triadic
#B22F36 #36B22F #2F36B2
tetradic
#B22F36 #78B22F #2FB2AB #6A2FB2
square
#B22F36 #78B22F #2FB2AB #6A2FB2
split-complementary
#B22F36 #2FB26A #2F78B2
monochromatic
#511519 #822227 #B22F36 #D04E55 #DD7E83

Accessibility & contrast

On white

6.26
#B22F36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B22F36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F36
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F36#FFFFFF#000000##FFFFFF
##B22F361.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E35
Deuteranopia (green-blind)
#766A32
Tritanopia (blue-blind)
#C40033
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22f36;
/* rgb */ color: rgb(178, 47, 54);
/* oklch */ color: oklch(51.0% 0.167 22.7);
Tailwind
colors: {
  custom: {
    50: '#d1726d',
    500: '#b22f36',
    950: '#000000',
  },
}
SCSS
$custom: #b22f36;
$custom-light: #d1726d;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f36",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 54
  },
  "hsl": {
    "h": 356.794,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.16717,
    "h": 22.7
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#B22F36
secondary
#77C6C2
accent
#E1D946
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B22F36

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

Preview Lab → · Contrast checker → · Palette generator →

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