#B22938#B22938

#B22938 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 20.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B22938
RGBrgb(178, 41, 56)
HSLhsl(353, 63%, 43%)
HSVhsv(353, 77%, 70%)
CMYKcmyk(0%, 77%, 68.5%, 30.2%)
CIE-LABlab(40.15, 54.73, 25.75)
CIE-LCHlch(40.15, 60.49, 25.19°)
OKLaboklab(50.53% 0.1614 0.0603)
OKLCHoklch(50.53% 0.172 20.5)
XYZxyz(19.8691, 11.3394, 4.8831)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22938 #29B2A3
analogous
#B2297C #B22938 #B25F29
triadic
#B22938 #38B229 #2938B2
tetradic
#B22938 #7CB229 #29B2A3 #5F29B2
square
#B22938 #7CB229 #29B2A3 #5F29B2
split-complementary
#B22938 #29B25F #297CB2
monochromatic
#4F1219 #801E28 #B22938 #D44454 #DF7682

Accessibility & contrast

On white

6.43
#B22938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B22938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22938
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22938#FFFFFF#000000##FFFFFF
##B229381.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C37
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22938;
/* rgb */ color: rgb(178, 41, 56);
/* oklch */ color: oklch(50.5% 0.172 20.5);
Tailwind
colors: {
  custom: {
    50: '#d16f6e',
    500: '#b22938',
    950: '#000000',
  },
}
SCSS
$custom: #b22938;
$custom-light: #d16f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b22938",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 353.431,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.17232,
    "h": 20.5
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#B22938
secondary
#70C7BD
accent
#E6D442
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B22938

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

Preview Lab → · Contrast checker → · Palette generator →

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