#B22939#B22939

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

Color values

HEX#B22939
RGBrgb(178, 41, 57)
HSLhsl(353, 63%, 43%)
HSVhsv(353, 77%, 70%)
CMYKcmyk(0%, 77%, 68%, 30.2%)
CIE-LABlab(40.16, 54.79, 25.15)
CIE-LCHlch(40.16, 60.28, 24.66°)
OKLaboklab(50.55% 0.1618 0.0591)
OKLCHoklch(50.55% 0.172 20)
XYZxyz(19.8938, 11.3493, 5.0132)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22939 #29B2A2
analogous
#B2297D #B22939 #B25E29
triadic
#B22939 #39B229 #2939B2
tetradic
#B22939 #7DB229 #29B2A2 #5E29B2
square
#B22939 #7DB229 #29B2A2 #5E29B2
split-complementary
#B22939 #29B25E #297DB2
monochromatic
#4F1219 #801E29 #B22939 #D44455 #DF7682

Accessibility & contrast

On white

6.42
#B22939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22939
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22939#FFFFFF#000000##FFFFFF
##B229391.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22939;
/* rgb */ color: rgb(178, 41, 57);
/* oklch */ color: oklch(50.5% 0.172 20.0);
Tailwind
colors: {
  custom: {
    50: '#d16f6f',
    500: '#b22939',
    950: '#000000',
  },
}
SCSS
$custom: #b22939;
$custom-light: #d16f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22939",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 57
  },
  "hsl": {
    "h": 352.993,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.17227,
    "h": 20
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#B22939
secondary
#70C7BD
accent
#E6D342
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #B22939

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

Preview Lab → · Contrast checker → · Palette generator →

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