#B22823#B22823

#B22823 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.175 H 27.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B22823
RGBrgb(178, 40, 35)
HSLhsl(2, 67%, 42%)
HSVhsv(2, 80%, 70%)
CMYKcmyk(0%, 77.5%, 80.3%, 30.2%)
CIE-LABlab(39.76, 54.17, 37.74)
CIE-LCHlch(39.76, 66.02, 34.86°)
OKLaboklab(50.16% 0.1551 0.0816)
OKLCHoklch(50.16% 0.175 27.8)
XYZxyz(19.4246, 11.1070, 2.7109)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22823 #23ADB2
analogous
#B22366 #B22823 #B27023
triadic
#B22823 #23B228 #2823B2
tetradic
#B22823 #66B223 #23ADB2 #7023B2
square
#B22823 #66B223 #23ADB2 #7023B2
split-complementary
#B22823 #23B270 #2366B2
monochromatic
#4C110F #7F1D19 #B22823 #D83F3A #E2716D

Accessibility & contrast

On white

6.52
#B22823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B22823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22823
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22823#FFFFFF#000000##FFFFFF
##B228231.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A21
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#C40029
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22823;
/* rgb */ color: rgb(178, 40, 35);
/* oklch */ color: oklch(50.2% 0.175 27.8);
Tailwind
colors: {
  custom: {
    50: '#d26e5f',
    500: '#b22823',
    950: '#000000',
  },
}
SCSS
$custom: #b22823;
$custom-light: #d26e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22823",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 35
  },
  "hsl": {
    "h": 2.098,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.17523,
    "h": 27.8
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#B22823
secondary
#68C5C9
accent
#E4EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B22823

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

Preview Lab → · Contrast checker → · Palette generator →

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