#B12021#B12021

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

Color values

HEX#B12021
RGBrgb(177, 32, 33)
HSLhsl(360, 69%, 41%)
HSVhsv(360, 82%, 69%)
CMYKcmyk(0%, 81.9%, 81.4%, 30.6%)
CIE-LABlab(38.71, 56.14, 37.74)
CIE-LCHlch(38.71, 67.64, 33.91°)
OKLaboklab(49.34% 0.161 0.081)
OKLCHoklch(49.34% 0.18 26.7)
XYZxyz(18.9248, 10.4930, 2.4675)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12021 #20B1B0
analogous
#B12069 #B12021 #B16720
triadic
#B12021 #21B120 #2021B1
tetradic
#B12021 #69B120 #20B1B0 #6720B1
square
#B12021 #69B120 #20B1B0 #6720B1
split-complementary
#B12021 #20B167 #2069B1
monochromatic
#490D0E #7D1717 #B12021 #DA3435 #E46869

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12021#FFFFFF#000000##FFFFFF
##B120211.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)
#4F471F
Deuteranopia (green-blind)
#73661A
Tritanopia (blue-blind)
#C30023
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b12021;
/* rgb */ color: rgb(177, 32, 33);
/* oklch */ color: oklch(49.3% 0.180 26.7);
Tailwind
colors: {
  custom: {
    50: '#d26b5d',
    500: '#b12021',
    950: '#000000',
  },
}
SCSS
$custom: #b12021;
$custom-light: #d26b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#b12021",
  "rgb": {
    "r": 177,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.586,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.1802,
    "h": 26.7
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12021

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

Preview Lab → · Contrast checker → · Palette generator →

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