#B12022#B12022

#B12022 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.180 H 26.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B12022
RGBrgb(177, 32, 34)
HSLhsl(359, 69%, 41%)
HSVhsv(359, 82%, 69%)
CMYKcmyk(0%, 81.9%, 80.8%, 30.6%)
CIE-LABlab(38.72, 56.17, 37.19)
CIE-LCHlch(38.72, 67.36, 33.51°)
OKLaboklab(49.35% 0.1613 0.0801)
OKLCHoklch(49.35% 0.18 26.4)
XYZxyz(18.9391, 10.4987, 2.5423)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12022 #20B1AF
analogous
#B1206A #B12022 #B16620
triadic
#B12022 #22B120 #2022B1
tetradic
#B12022 #6AB120 #20B1AF #6620B1
square
#B12022 #6AB120 #20B1AF #6620B1
split-complementary
#B12022 #20B166 #206AB1
monochromatic
#490D0E #7D1718 #B12022 #DA3436 #E46869

Accessibility & contrast

On white

6.78
#B12022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#B12022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12022
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12022#FFFFFF#000000##FFFFFF
##B120221.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4720
Deuteranopia (green-blind)
#73661B
Tritanopia (blue-blind)
#C30023
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b12022;
/* rgb */ color: rgb(177, 32, 34);
/* oklch */ color: oklch(49.3% 0.180 26.4);
Tailwind
colors: {
  custom: {
    50: '#d26b5e',
    500: '#b12022',
    950: '#000000',
  },
}
SCSS
$custom: #b12022;
$custom-light: #d26b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12022",
  "rgb": {
    "r": 177,
    "g": 32,
    "b": 34
  },
  "hsl": {
    "h": 359.172,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.18008,
    "h": 26.4
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#B12022
secondary
#64C9C8
accent
#ECEA3C
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B12022

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

Preview Lab → · Contrast checker → · Palette generator →

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