#B21F19#B21F19

#B21F19 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.183 H 28.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B21F19
RGBrgb(178, 31, 25)
HSLhsl(2, 75%, 40%)
HSVhsv(2, 86%, 70%)
CMYKcmyk(0%, 82.6%, 86%, 30.2%)
CIE-LABlab(38.76, 56.48, 42.10)
CIE-LCHlch(38.76, 70.44, 36.70°)
OKLaboklab(49.39% 0.1604 0.0874)
OKLCHoklch(49.39% 0.183 28.6)
XYZxyz(19.0280, 10.5183, 1.9479)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F19 #19ACB2
analogous
#B21960 #B21F19 #B26C19
triadic
#B21F19 #19B21F #1F19B2
tetradic
#B21F19 #60B219 #19ACB2 #6C19B2
square
#B21F19 #60B219 #19ACB2 #6C19B2
split-complementary
#B21F19 #19B26C #1960B2
monochromatic
#470C0A #7C1611 #B21F19 #E12F27 #E8635D

Accessibility & contrast

On white

6.77
#B21F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B21F19
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21F19#FFFFFF#000000##FFFFFF
##B21F191.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504716
Deuteranopia (green-blind)
#74670F
Tritanopia (blue-blind)
#C50020
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b21f19;
/* rgb */ color: rgb(178, 31, 25);
/* oklch */ color: oklch(49.4% 0.183 28.6);
Tailwind
colors: {
  custom: {
    50: '#d36b58',
    500: '#b21f19',
    950: '#000000',
  },
}
SCSS
$custom: #b21f19;
$custom-light: #d36b58;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f19",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 2.353,
    "s": 75.369,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49385,
    "c": 0.18264,
    "h": 28.6
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#B21F19
secondary
#5BC8CC
accent
#EBF236
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #B21F19

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

Preview Lab → · Contrast checker → · Palette generator →

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