#B22F38#B22F38

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

Color values

HEX#B22F38
RGBrgb(178, 47, 56)
HSLhsl(356, 58%, 44%)
HSVhsv(356, 74%, 70%)
CMYKcmyk(0%, 73.6%, 68.5%, 30.2%)
CIE-LABlab(40.87, 52.70, 26.64)
CIE-LCHlch(40.87, 59.05, 26.82°)
OKLaboklab(51.07% 0.155 0.0623)
OKLCHoklch(51.07% 0.167 21.9)
XYZxyz(20.0926, 11.7865, 4.9577)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F38 #2FB2A9
analogous
#B22F7A #B22F38 #B2682F
triadic
#B22F38 #38B22F #2F38B2
tetradic
#B22F38 #7AB22F #2FB2A9 #682FB2
square
#B22F38 #7AB22F #2FB2A9 #682FB2
split-complementary
#B22F38 #2FB268 #2F7AB2
monochromatic
#51151A #822229 #B22F38 #D04E57 #DD7E85

Accessibility & contrast

On white

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

On black

3.36
#B22F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B22F38#FFFFFF#000000##FFFFFF
##B22F381.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544F37
Deuteranopia (green-blind)
#756B34
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22f38;
/* rgb */ color: rgb(178, 47, 56);
/* oklch */ color: oklch(51.1% 0.167 21.9);
Tailwind
colors: {
  custom: {
    50: '#d1726e',
    500: '#b22f38',
    950: '#000000',
  },
}
SCSS
$custom: #b22f38;
$custom-light: #d1726e;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f38",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 56
  },
  "hsl": {
    "h": 355.878,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.167,
    "h": 21.9
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#B22F38
secondary
#77C6C0
accent
#E1D746
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #B22F38

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

Preview Lab → · Contrast checker → · Palette generator →

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