#B22D42#B22D42

#B22D42 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.1% C 0.168 H 17.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B22D42
RGBrgb(178, 45, 66)
HSLhsl(351, 60%, 44%)
HSVhsv(351, 75%, 70%)
CMYKcmyk(0%, 74.7%, 62.9%, 30.2%)
CIE-LABlab(40.80, 53.98, 20.36)
CIE-LCHlch(40.80, 57.70, 20.67°)
OKLaboklab(51.07% 0.1611 0.0492)
OKLCHoklch(51.07% 0.168 17)
XYZxyz(20.2840, 11.7381, 6.3508)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D42 #2DB29D
analogous
#B22D84 #B22D42 #B25A2D
triadic
#B22D42 #42B22D #2D42B2
tetradic
#B22D42 #84B22D #2DB29D #5A2DB2
square
#B22D42 #84B22D #2DB29D #5A2DB2
split-complementary
#B22D42 #2DB25A #2D84B2
monochromatic
#50141E #812130 #B22D42 #D14B60 #DE7C8B

Accessibility & contrast

On white

6.27
#B22D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22D42
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D42#FFFFFF#000000##FFFFFF
##B22D421.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E42
Deuteranopia (green-blind)
#746A3E
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22d42;
/* rgb */ color: rgb(178, 45, 66);
/* oklch */ color: oklch(51.1% 0.168 17.0);
Tailwind
colors: {
  custom: {
    50: '#d07176',
    500: '#b22d42',
    950: '#000000',
  },
}
SCSS
$custom: #b22d42;
$custom-light: #d07176;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d42",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 350.526,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51071,
    "c": 0.16847,
    "h": 17
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#B22D42
secondary
#75C6B9
accent
#E3CA45
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B22D42

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

Preview Lab → · Contrast checker → · Palette generator →

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