#B22D28#B22D28

#B22D28 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.171 H 27.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B22D28
RGBrgb(178, 45, 40)
HSLhsl(2, 63%, 43%)
HSVhsv(2, 78%, 70%)
CMYKcmyk(0%, 74.7%, 77.5%, 30.2%)
CIE-LABlab(40.41, 52.69, 35.60)
CIE-LCHlch(40.41, 63.58, 34.04°)
OKLaboklab(50.66% 0.1515 0.0785)
OKLCHoklch(50.66% 0.171 27.4)
XYZxyz(19.6838, 11.4980, 3.1900)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D28 #28ADB2
analogous
#B22868 #B22D28 #B27228
triadic
#B22D28 #28B22D #2D28B2
tetradic
#B22D28 #68B228 #28ADB2 #7228B2
square
#B22D28 #68B228 #28ADB2 #7228B2
split-complementary
#B22D28 #28B272 #2868B2
monochromatic
#4E1412 #80201D #B22D28 #D54843 #E07875

Accessibility & contrast

On white

6.37
#B22D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B22D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D28
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D28#FFFFFF#000000##FFFFFF
##B22D281.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D26
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22d28;
/* rgb */ color: rgb(178, 45, 40);
/* oklch */ color: oklch(50.7% 0.171 27.4);
Tailwind
colors: {
  custom: {
    50: '#d27063',
    500: '#b22d28',
    950: '#000000',
  },
}
SCSS
$custom: #b22d28;
$custom-light: #d27063;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d28",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 40
  },
  "hsl": {
    "h": 2.174,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50656,
    "c": 0.17058,
    "h": 27.4
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#B22D28
secondary
#6FC4C7
accent
#E0E641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22D28

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

Preview Lab → · Contrast checker → · Palette generator →

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