#B22E42#B22E42

#B22E42 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.168 H 17.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B22E42
RGBrgb(178, 46, 66)
HSLhsl(351, 59%, 44%)
HSVhsv(351, 74%, 70%)
CMYKcmyk(0%, 74.2%, 62.9%, 30.2%)
CIE-LABlab(40.92, 53.64, 20.52)
CIE-LCHlch(40.92, 57.43, 20.94°)
OKLaboklab(51.16% 0.16 0.0496)
OKLCHoklch(51.16% 0.168 17.2)
XYZxyz(20.3226, 11.8153, 6.3637)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E42 #2EB29E
analogous
#B22E84 #B22E42 #B25C2E
triadic
#B22E42 #42B22E #2E42B2
tetradic
#B22E42 #84B22E #2EB29E #5C2EB2
square
#B22E42 #84B22E #2EB29E #5C2EB2
split-complementary
#B22E42 #2EB25C #2E84B2
monochromatic
#51151E #812130 #B22E42 #D14C60 #DD7D8C

Accessibility & contrast

On white

6.25
#B22E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22E42
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E42#FFFFFF#000000##FFFFFF
##B22E421.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F42
Deuteranopia (green-blind)
#746B3E
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22e42;
/* rgb */ color: rgb(178, 46, 66);
/* oklch */ color: oklch(51.2% 0.168 17.2);
Tailwind
colors: {
  custom: {
    50: '#d07176',
    500: '#b22e42',
    950: '#000000',
  },
}
SCSS
$custom: #b22e42;
$custom-light: #d07176;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e42",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 350.909,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51163,
    "c": 0.16752,
    "h": 17.2
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#B22E42
secondary
#76C6BA
accent
#E2CA46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B22E42

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

Preview Lab → · Contrast checker → · Palette generator →

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