#B21E19#B21E19

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

Color values

HEX#B21E19
RGBrgb(178, 30, 25)
HSLhsl(2, 75%, 40%)
HSVhsv(2, 86%, 70%)
CMYKcmyk(0%, 83.1%, 86%, 30.2%)
CIE-LABlab(38.67, 56.73, 42.02)
CIE-LCHlch(38.67, 70.60, 36.53°)
OKLaboklab(49.32% 0.1612 0.0872)
OKLCHoklch(49.32% 0.183 28.4)
XYZxyz(19.0023, 10.4669, 1.9393)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21E19 #19ADB2
analogous
#B21960 #B21E19 #B26B19
triadic
#B21E19 #19B21E #1E19B2
tetradic
#B21E19 #60B219 #19ADB2 #6B19B2
square
#B21E19 #60B219 #19ADB2 #6B19B2
split-complementary
#B21E19 #19B26B #1960B2
monochromatic
#470C0A #7C1511 #B21E19 #E12E27 #E8625D

Accessibility & contrast

On white

6.79
#B21E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#B21E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B21E19
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21E19#FFFFFF#000000##FFFFFF
##B21E191.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b21e19;
/* rgb */ color: rgb(178, 30, 25);
/* oklch */ color: oklch(49.3% 0.183 28.4);
Tailwind
colors: {
  custom: {
    50: '#d36a58',
    500: '#b21e19',
    950: '#000000',
  },
}
SCSS
$custom: #b21e19;
$custom-light: #d36a58;
$custom-dark: #000000;
JSON
{
  "hex": "#b21e19",
  "rgb": {
    "r": 178,
    "g": 30,
    "b": 25
  },
  "hsl": {
    "h": 1.961,
    "s": 75.369,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49318,
    "c": 0.18326,
    "h": 28.4
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B21E19

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

Preview Lab → · Contrast checker → · Palette generator →

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