#BA2021#BA2021

#BA2021 is a mid, vivid red. Relative luminance 0.116; OKLCH L 51.0% C 0.189 H 26.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#BA2021
RGBrgb(186, 32, 33)
HSLhsl(360, 71%, 43%)
HSVhsv(360, 83%, 73%)
CMYKcmyk(0%, 82.8%, 82.3%, 27.1%)
CIE-LABlab(40.55, 58.73, 40.15)
CIE-LCHlch(40.55, 71.15, 34.36°)
OKLaboklab(51.02% 0.1681 0.0854)
OKLCHoklch(51.02% 0.189 26.9)
XYZxyz(21.0434, 11.5854, 2.5668)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2021 #20BAB9
analogous
#BA206E #BA2021 #BA6C20
triadic
#BA2021 #21BA20 #2021BA
tetradic
#BA2021 #6EBA20 #20BAB9 #6C20BA
square
#BA2021 #6EBA20 #20BAB9 #6C20BA
split-complementary
#BA2021 #20BA6C #206EBA
monochromatic
#520E0E #861718 #BA2021 #DD3A3B #E66E6F

Accessibility & contrast

On white

6.33
#BA2021 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#BA2021 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2021
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2021#FFFFFF#000000##FFFFFF
##BA20211.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1F
Deuteranopia (green-blind)
#786B19
Tritanopia (blue-blind)
#CD0023
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ba2021;
/* rgb */ color: rgb(186, 32, 33);
/* oklch */ color: oklch(51.0% 0.189 26.9);
Tailwind
colors: {
  custom: {
    50: '#d96d5e',
    500: '#ba2021',
    950: '#000000',
  },
}
SCSS
$custom: #ba2021;
$custom-light: #d96d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2021",
  "rgb": {
    "r": 186,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.61,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.18856,
    "h": 26.9
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#BA2021
secondary
#69CCCC
accent
#EDEC3A
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #BA2021

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

Preview Lab → · Contrast checker → · Palette generator →

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